]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Update Pager->__construct calls for minimal use cases
[friendica.git] / mod / notes.php
index b6b6faefab2a275728ffdade428001d23b4f0481..01e6e5ab991d7712343ab746bfb432aa8c517b9d 100644 (file)
@@ -61,7 +61,7 @@ function notes_content(App $a, $update = false)
        $condition = ['uid' => local_user(), 'post-type' => Item::PT_PERSONAL_NOTE, 'gravity' => GRAVITY_PARENT,
                'wall' => false, 'contact-id'=> $a->contact['id']];
 
-       $pager = new Pager($a->query_string, null, 40);
+       $pager = new Pager($a->query_string, 40);
 
        $params = ['order' => ['created' => true],
                'limit' => [$pager->getStart(), $pager->getItemsPerPage()]];