]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Merge pull request #12820 from MrPetovan/bug/fatal-errors
[friendica.git] / mod / notes.php
index 00a74eecad0b7f3c2f5fcc028e8846e264fa87fe..360441471f1dd4fc2eba08230e42a29ba2656995 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 use Friendica\App;
+use Friendica\Content\Conversation;
 use Friendica\Content\Nav;
 use Friendica\Content\Pager;
 use Friendica\Database\DBA;
@@ -84,7 +85,7 @@ function notes_content(App $a, bool $update = false)
 
                $count = count($notes);
 
-               $o .= DI::conversation()->create($notes, 'notes', $update);
+               $o .= DI::conversation()->create($notes, Conversation::MODE_NOTES, $update);
        }
 
        $o .= $pager->renderMinimal($count);