Bugfix: Prevent "Uncaught TypeError: Argument 1 passed to Friendica\Model\Event::formatListForExport() must be of the type array, object given"
This commit is contained in:
parent
8329c48511
commit
dece06c571
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