Browse Source

Bugfix: Prevent "Uncaught TypeError: Argument 1 passed to Friendica\Model\Event::formatListForExport() must be of the type array, object given"

pull/4685/head
Michael 4 years ago
parent
commit
dece06c571
  1. 2
      src/Model/Event.php

2
src/Model/Event.php

@ -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…
Cancel
Save