1
1
Fork 0

Merge pull request #4685 from annando/fix-event

Bugfix: Prevent "Uncaught TypeError"
This commit is contained in:
Hypolite Petovan 2018-03-25 15:10:37 -04:00 committed by GitHub
commit 2fa5e7be0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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