phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SV: [phpGroupWare-developers] Re: datetime class and PHP 5.2


From: Sigurd Nes
Subject: SV: [phpGroupWare-developers] Re: datetime class and PHP 5.2
Date: Wed, 21 Feb 2007 17:36:08 +0100 (CET)

Hi,

find around line 1800:
$freq = $rep_events['recur_interval'];

replace with:

$freq = (isset($rep_events['recur_interval']) && $rep_events['recur_interval'] 
?$rep_events['recur_interval']:1);

Regards

Sigurd

> From: Daniel Nofftz address@hidden
> Sent: 2007-02-21 16:45:20 CET
> To: address@hidden
> Subject: [phpGroupWare-developers] Re: datetime class and PHP 5.2
> 
> 
> 
> ok ...
> i just switched to php 5.2 and applied the patch ...
> 
> most problems i allready solved with swashd's help ;)
> 
> the only remaining on is the following:
> if i enter a recurring event to the calender i get the following warning:
> 
> mothly (by day):
> Warning: Division by zero in  
> /var/www/daniel/kombia.de/phpgroupware/calendar/inc/class.bocalendar.i nc.php 
> on line 1858
> 
> weekly:
> Warning: Division by zero in  
> /var/www/daniel/kombia.de/phpgroupware/calendar/inc/class.bocalendar.i nc.php 
> on line 1823
> 
> looks like the same problem ...
> 
> phpgw is quite up to date (i have done a cvs update last week, i think) with 
> datetime patch applied ....
> 
> Sent from the phpGroupWare forums @ forums.phpGroupWare.org
> 
> 
> _______________________________________________
> phpGroupWare-developers mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
> 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]