This commit is contained in:
Philipp Holzer 2019-03-01 13:14:38 +01:00
parent 0098f97c4a
commit 2aeea55f3f
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -378,6 +378,8 @@ class Photo extends BaseObject
if (!DBA::isResult($r)) { if (!DBA::isResult($r)) {
$logger->info("Can't detect user data.", ['uid' => $uid]); $logger->info("Can't detect user data.", ['uid' => $uid]);
return([]); return([]);
} else {
$r = DBA::toArray($r);
} }
$page_owner_nick = $r[0]['nickname']; $page_owner_nick = $r[0]['nickname'];