mirror of
https://github.com/friendica/friendica
synced 2024-11-19 05:03:41 +00:00
Merge pull request #4685 from annando/fix-event
Bugfix: Prevent "Uncaught TypeError"
This commit is contained in:
commit
2fa5e7be0a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue