]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
"remember me" in session does work now
[friendica.git] / mod / profile.php
index 26bd395230b8d937df35ceb1c5fcb10891116227..c3f58ab528142fcc850124610eb2883e375cbe62 100644 (file)
@@ -300,7 +300,7 @@ function profile_content(&$a, $update = 0) {
        $parents_arr = array();
        $parents_str = '';
 
-       if(count($r)) {
+       if (dba::is_result($r)) {
                foreach($r as $rr)
                        $parents_arr[] = $rr['item_id'];
                $parents_str = implode(', ', $parents_arr);