From dece06c571d6dda5bd732e14e6bf27a8bd546779 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 25 Mar 2018 18:56:35 +0000 Subject: [PATCH] Bugfix: Prevent "Uncaught TypeError: Argument 1 passed to Friendica\Model\Event::formatListForExport() must be of the type array, object given" --- src/Model/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Event.php b/src/Model/Event.php index 87c8b239bf..9fa55521be 100644 --- a/src/Model/Event.php +++ b/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; -- 2.39.5