From 2aeea55f3f63f5794b89ab69fb46ca4858fa0eb3 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Fri, 1 Mar 2019 13:14:38 +0100 Subject: [PATCH] bugfix --- src/Model/Photo.php | 2 ++ 1 file changed, 2 insertions(+) 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']; -- 2.39.5