This commit is contained in:
skeeter 2001-06-29 23:17:03 +00:00
parent 146f044243
commit e6a9e935a9
2 changed files with 6 additions and 1 deletions

View File

@ -448,7 +448,7 @@ class calendar extends calendar_
$this->repeating_event_matches = 0; $this->repeating_event_matches = 0;
if(count($this->repeated_events) <= 0) if($this->repeated_events == Null)
{ {
return False; return False;
} }

View File

@ -280,6 +280,11 @@ class calendar_holiday
{ {
global $phpgw; global $phpgw;
if($this->holidays == Null)
{
return False;
}
$c_holidays = count($this->holidays); $c_holidays = count($this->holidays);
for($i=0;$i<$c_holidays;$i++) for($i=0;$i<$c_holidays;$i++)
{ {