forked from extern/egroupware
fixed fatal error, after move of get_ctag to calendar_bo
This commit is contained in:
parent
d08086c8b2
commit
a7ea17d896
@ -1931,11 +1931,11 @@ class calendar_bo
|
||||
);
|
||||
|
||||
$ctag = 0;
|
||||
if (($events =& $this->bo->search($filter)))
|
||||
if (($events =& $this->search($filter)))
|
||||
{
|
||||
foreach ($events as $event)
|
||||
{
|
||||
$modified = max($this->bo->so->max_user_modified($event['cal_id']), $event['cal_modified']);
|
||||
$modified = max($this->so->max_user_modified($event['cal_id']), $event['cal_modified']);
|
||||
if ($ctag < $modified) $ctag = $modified;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user