fixed fatal error, after move of get_ctag to calendar_bo

This commit is contained in:
Ralf Becker 2010-12-03 13:22:08 +00:00
parent d08086c8b2
commit a7ea17d896

View File

@ -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;
}
}