]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
Several more warnings ... (#5340)
[friendica.git] / mod / profile.php
index 93172397b276cd1a2165c30a2b85c8ae8dfaaa60..60741db726acd5a740bdfc5af1bedbbdb999cee3 100644 (file)
@@ -282,6 +282,8 @@ function profile_content(App $a, $update = 0)
 
                if (!DBM::is_result($r)) {
                        $sql_extra3 = sprintf(" AND `thread`.`contact-id` = %d ", intval(intval($a->profile['contact_id'])));
+               } else {
+                       $sql_extra3 = "";
                }
 
                //  check if we serve a mobile device and get the user settings