From 62e528ba43bedbd33eb81447775bd743f0c1acf8 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 2 Apr 2012 00:45:45 -0700 Subject: remove zrl from query string --- include/text.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index e1e040750..5456b5ad3 100644 --- a/include/text.php +++ b/include/text.php @@ -225,6 +225,9 @@ if(! function_exists('paginate')) { function paginate(&$a) { $o = ''; $stripped = preg_replace('/(&page=[0-9]*)/','',$a->query_string); + +// $stripped = preg_replace('/&zrl=(.*?)([\?&]|$)/ism','',$stripped); + $stripped = str_replace('q=','',$stripped); $stripped = trim($stripped,'/'); $pagenum = $a->pager['page']; -- cgit v1.2.3