]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Photo.php
Standards
[friendica.git] / src / Module / Photo.php
index a10eeefd5225bc5f8c8413fbe3cee216949f8544..165391cd3ca2aa67cfacbde652657a8488ea214b 100644 (file)
@@ -151,7 +151,7 @@ class Photo extends BaseModule
 
                $photo = MPhoto::selectFirst([], ["scale" => $scale, "uid" => $uid, "profile" => 1]);
                if (empty($photo)) {
-                       $contact = DBA::selectFirst('contact', ['uid' => $uid, 'self' => true]) ?: [];
+                       $contact = DBA::selectFirst('contact', [], ['uid' => $uid, 'self' => true]) ?: [];
 
                        switch($type) {
                                case "profile":