1
1
Fork 0

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:
Michael 2018-03-25 18:56:35 +00:00
parent 8329c48511
commit dece06c571

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;