]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Pager.php
Merge pull request #12453 from tobiasd/2022.12-CHANGELOG
[friendica.git] / src / Content / Pager.php
index 98b885d42572d930ef0a61a6bfa1bd63f790ebd8..f776249b1b5d7b1d1a72dcc280fe744aad02307e 100644 (file)
@@ -58,7 +58,7 @@ class Pager
 
                $this->setQueryString($queryString);
                $this->setItemsPerPage($itemsPerPage);
-               $this->setPage(($_GET['page'] ?? 0) ?: 1);
+               $this->setPage((int)($_GET['page'] ?? 0) ?: 1);
        }
 
        /**