Merge pull request #4685 from annando/fix-event
Bugfix: Prevent "Uncaught TypeError"
This commit is contained in:
commit
2fa5e7be0a
|
@ -737,7 +737,7 @@ class Event extends BaseObject
|
|||
|
||||
$events = dba::select('event', $fields, $conditions);
|
||||
if (DBM::is_result($events)) {
|
||||
$return = $events;
|
||||
$return = dba::inArray($events);
|
||||
}
|
||||
|
||||
return $return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user