]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
rev update + multiple profile photos
[friendica.git] / mod / notes.php
index 625bbd2eefa97354d84af10f2561bb13e36c4d4e..afaa60f7016623c91d36432cd303c5b0fcd6140b 100644 (file)
@@ -129,9 +129,13 @@ function notes_content(&$a,$update = false) {
                        intval(local_user()),
                        dbesc($parents_str)
                );
-       }
 
-       $o .= conversation($a,$r,'notes',$update);
+               if(count($r)) {
+                       $items = conv_sort($r,"`commented`");
+
+                       $o .= conversation($a,$items,'notes',$update);
+               }
+       }
 
 
        $o .= paginate($a);