> you could change that last line to this:
>
> $calendardata = &$new_calendardata;

Are you sure you want me to add the ampersand?
Because when I added an event, I lost everything.

thanks,
-rkl

>> Also, is the patch in essence this or more as below:
>
> yes
>
>> Changes that does not disable sorting and work for me ('+' = added
> line,
>> '-' = removed line).
>> ------------
>>              // this is to sort the events within a day on starttime
>> +           $new_calendardata = array();
>>              foreach($calendardata as $day => $data) {
>>                  ksort($data, SORT_NUMERIC);
>> -                $calendardata[$day] = $data;
>> +                $new_calendardata[$day] = $data;
>>              }
>> +           $calendardata = $new_calendardata ;
>
> you could change that last line to this:
>
> $calendardata = &$new_calendardata;
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by OSDN developer relations
> Here's your chance to show off your extensive product knowledge
> We want to know what you know. Tell us and you have a chance to win $100
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



-----------------------------------------
eMail solutions by 
http://www.swanmail.com


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to