]> git.mxchange.org Git - friendica.git/commitdiff
Remove stripping search term in Pager
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 16 Feb 2020 08:23:11 +0000 (03:23 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 16 Feb 2020 08:23:11 +0000 (03:23 -0500)
- Address https://github.com/friendica/friendica/issues/8216

src/Content/Pager.php

index badc8af4ec1498ead031fcace1b0ded3be2d02e3..d41cbfb3de36a2dd954ad3ecf17085c1aa75f32b 100644 (file)
@@ -134,7 +134,6 @@ class Pager
        {
                $stripped = preg_replace('/([&?]page=[0-9]*)/', '', $queryString);
 
-               $stripped = str_replace('q=', '', $stripped);
                $stripped = trim($stripped, '/');
 
                $this->baseQueryString = $stripped;