]> git.mxchange.org Git - friendica.git/commitdiff
bugfix
authorPhilipp Holzer <admin@philipp.info>
Fri, 1 Mar 2019 12:14:38 +0000 (13:14 +0100)
committerPhilipp Holzer <admin@philipp.info>
Fri, 5 Apr 2019 05:54:19 +0000 (07:54 +0200)
src/Model/Photo.php

index 61501bdac81ace7647b2bccf2b1919bb883680cc..bfc84e5259058b29bc7f75a71aad0d8381b18a3a 100644 (file)
@@ -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'];