From: Philipp Holzer Date: Fri, 1 Mar 2019 12:14:38 +0000 (+0100) Subject: bugfix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2aeea55f3f63f5794b89ab69fb46ca4858fa0eb3;p=friendica.git bugfix --- diff --git a/src/Model/Photo.php b/src/Model/Photo.php index 61501bdac8..bfc84e5259 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -378,6 +378,8 @@ class Photo extends BaseObject if (!DBA::isResult($r)) { $logger->info("Can't detect user data.", ['uid' => $uid]); return([]); + } else { + $r = DBA::toArray($r); } $page_owner_nick = $r[0]['nickname'];