mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fixed problem with trying to use count() on the return of an array in php3
This commit is contained in:
parent
75ac394d14
commit
7df8c9ccc9
@ -459,7 +459,8 @@ class calendar extends calendar_
|
||||
$search_date_dow = date('w',$datetime);
|
||||
$search_beg_day = mktime(0,0,0,$search_date_month,$search_date_day,$search_date_year);
|
||||
@reset($this->repeated_events);
|
||||
$r_events = count($this->repeated_events);
|
||||
$repeated = $this->repeated_event;
|
||||
$r_events = count($repeated);
|
||||
for ($i=0;$i<$r_events;$i++)
|
||||
{
|
||||
$rep_events = $this->repeating_events[$i];
|
||||
|
Loading…
Reference in New Issue
Block a user