Fix single event search in DB driver
This commit is contained in:
parent
cbae8d0187
commit
14ffcb15df
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ class database_driver extends calendar_driver
|
||||||
),
|
),
|
||||||
$id);
|
$id);
|
||||||
|
|
||||||
if ($result && ($event = $this->rc->db->fetch_assoc($result))) {
|
if ($result && ($event = $this->rc->db->fetch_assoc($result)) && $event['event_id']) {
|
||||||
$this->cache[$id] = $this->_read_postprocess($event);
|
$this->cache[$id] = $this->_read_postprocess($event);
|
||||||
return $this->cache[$id];
|
return $this->cache[$id];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue