diff options
author | friendica <info@friendica.com> | 2012-04-02 00:45:45 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-02 00:45:45 -0700 |
commit | 62e528ba43bedbd33eb81447775bd743f0c1acf8 (patch) | |
tree | 46f3d7f1f6584aa472cda749e2d42c2b2d9a1065 /include/text.php | |
parent | 1f74bd1b78f7db4940f0fded0d6f7716579218f0 (diff) | |
download | volse-hubzilla-62e528ba43bedbd33eb81447775bd743f0c1acf8.tar.gz volse-hubzilla-62e528ba43bedbd33eb81447775bd743f0c1acf8.tar.bz2 volse-hubzilla-62e528ba43bedbd33eb81447775bd743f0c1acf8.zip |
remove zrl from query string
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 3 |
1 files changed, 3 insertions, 0 deletions
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']; |