]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
Removed test logger
[friendica.git] / include / text.php
index 4aa529d31667c8abe4135130599ba805e776b7af..8ce54b3c6786c130a6c93e5e72402e855946418b 100644 (file)
@@ -270,7 +270,7 @@ if(! function_exists('paginate_data')) {
  * @return Array data for pagination template
  */
 function paginate_data(&$a, $count=null) {
-       $stripped = preg_replace('/(&page=[0-9]*)/','',$a->query_string);
+       $stripped = preg_replace('/([&?]page=[0-9]*)/','',$a->query_string);
 
        $stripped = str_replace('q=','',$stripped);
        $stripped = trim($stripped,'/');