mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 16:14:26 +02:00
remove zrl from query string
This commit is contained in:
parent
1f74bd1b78
commit
62e528ba43
2 changed files with 4 additions and 0 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue