JUser — Extended user registration

Attention!!! We are working from Monday till Friday, any time from 9:00 AM till 6:00 PM (+6 GMT) or, from 4:00 PM till 1:00 AM (EST). During weekends nobody from support team can answer topics.

News Joomla Components arrow Forum
  LoudMouth Board
  General
   Support Desk
    JCS: Unable to update Start and Expirey dates in Edit User Subscription
     Viewing Reply
JCS: Unable to update Start and Expirey dates in Edit User Subscription
I am unable to edit the Start and Expiry Dates in User Subscriptions.

Whenever I update the dates, and hit Update or Save, the fields get filled with zeroes and database doesn't get updated.

Navigator
Re: JCS: Unable to update Start and Expirey dates in Edit User Subscription
 
Tuesday, 03 June 2008
Thanks.  I agree, using
   $ctime  = $_REQUEST['ctime'];
   $extime = $_REQUEST['extime'];

instead of
   $ctime  = mosGetParam( $_REQUEST, 'ctime');
   $extime = mosGetParam( $_REQUEST, 'extime');

is a better solution.

Single-stepping through the code shows that the mosGetParam() function does a whole bunch of things that are skipped over anyway, so you always get the same result just getting the $ctime and $extime values directly from the $_REQUEST array. 

The same result with better performance.
Last Updated ( Tuesday, 10 June 2008 )
Read more...
< Prev Next >
Address: Joomla Equipment, Box 1951, Bishkek, 720000, Kyrgyzstan
Telephones: Office: +996 312 68-91-34, Mobile: +996 543 91-81-42
More contacts...