]> git.mxchange.org Git - friendica.git/blobdiff - mod/fbrowser.php
Fix overly strict return value for terminateFriendship methods
[friendica.git] / mod / fbrowser.php
index 359e83e111e9f14889c975eefadab2e809974c36..45e960feceb828fbfd5e43f1bcc9b085f27701d5 100644 (file)
@@ -79,7 +79,7 @@ function fbrowser_content(App $a)
                                $filename_e = $rr['filename'];
 
                                // Take the largest picture that is smaller or equal 640 pixels
-                               $photo = Photo::selectFirst(['scale'], ["`resource-id` = ? AND `height` <= ? AND `width` <= ?", $rr['resource-id'], 640, 640, ['order' => ['scale']]]);
+                               $photo = Photo::selectFirst(['scale'], ["`resource-id` = ? AND `height` <= ? AND `width` <= ?", $rr['resource-id'], 640, 640], ['order' => ['scale']]);
                                $scale = $photo['scale'] ?? $rr['loq'];
 
                                return [