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 [EMAIL PROTECTED] > Sent: 2007-02-21 16:45:20 CET > To: [email protected] > 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 > [email protected] > http://lists.gnu.org/mailman/listinfo/phpgroupware-developers >
_______________________________________________ phpGroupWare-developers mailing list [email protected] http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
