bugfix
This commit is contained in:
parent
0098f97c4a
commit
2aeea55f3f
1 changed files with 2 additions and 0 deletions
|
@ -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'];
|
||||||
|
|
Loading…
Reference in a new issue