X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=01f283870ef8ec2ed119d84a458fd2db67d7e33d;hb=8dc5b04be7cd9cb2eb77ed9824815efe27369bee;hp=68a870e9d689f282aa4c1a93444bb1d1a3fa68c4;hpb=1fb592507384773c9cc8a139ec521edda4ef8819;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index 68a870e9d6..01f283870e 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -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);