]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Merge pull request #5776 from annando/fix-contact
[friendica.git] / mod / notes.php
index 68a870e9d689f282aa4c1a93444bb1d1a3fa68c4..01f283870ef8ec2ed119d84a458fd2db67d7e33d 100644 (file)
@@ -70,8 +70,11 @@ function notes_content(App $a, $update = false)
        $count = 0;
 
        if (DBA::isResult($r)) {
-               $count = count($r);
-               $o .= conversation($a, DBA::toArray($r), 'notes', $update);
+               $notes = DBA::toArray($r);
+
+               $count = count($notes);
+
+               $o .= conversation($a, $notes, 'notes', $update);
        }
 
        $o .= alt_pager($a, $count);