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
|
@ -737,7 +737,7 @@ class Event extends BaseObject
|
||||||
|
|
||||||
$events = dba::select('event', $fields, $conditions);
|
$events = dba::select('event', $fields, $conditions);
|
||||||
if (DBM::is_result($events)) {
|
if (DBM::is_result($events)) {
|
||||||
$return = $events;
|
$return = dba::inArray($events);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
|
|
Loading…
Reference in a new issue