]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
Added response active support to smoothly
[friendica.git] / mod / profile.php
index 67db5d0d9865d2be14e929768b53bbb180f2fc9e..681b1dbd1cdd45974b9ee00b16ccf83dbcb9c544 100644 (file)
@@ -298,7 +298,7 @@ function profile_content(&$a, $update = 0) {
        $parents_arr = array();
        $parents_str = '';
 
-       if(count($r)) {
+       if (dbm::is_result($r)) {
                foreach($r as $rr)
                        $parents_arr[] = $rr['item_id'];
                $parents_str = implode(', ', $parents_arr);