]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Pager.php
Group selection: Respect "pubmail" and ignore atchived or blocked contacts
[friendica.git] / src / Content / Pager.php
index c9acb63f236c4c361479a22bdf8af3b918776c67..c12608d45d84bbfb10173486c59978230f943522 100644 (file)
@@ -39,7 +39,7 @@ class Pager
        {
                $this->setQueryString($queryString);
                $this->setItemsPerPage($itemsPerPage);
-               $this->setPage(defaults($_GET, 'page', 1));
+               $this->setPage(($_GET['page'] ?? 0) ?: 1);
        }
 
        /**