]> git.mxchange.org Git - friendica.git/blobdiff - mod/community.php
Update Pager->__construct calls for minimal use cases
[friendica.git] / mod / community.php
index 7474fc24290b569cb77cd86c1d13762c827844a1..1017698eaa5c134f5f5f24115f4f9f68070f8fc1 100644 (file)
@@ -154,7 +154,7 @@ function community_content(App $a, $update = 0)
                $itemspage_network = $a->force_max_items;
        }
 
-       $pager = new Pager($a->query_string, null, $itemspage_network);
+       $pager = new Pager($a->query_string, $itemspage_network);
 
        $r = community_getitems($pager->getStart(), $pager->getItemsPerPage(), $content, $accounttype);