remnants of q= removed

This commit is contained in:
Mike Macgirvin 2024-08-02 17:49:54 +10:00
parent ce9c4ae520
commit a654446fa6
2 changed files with 2 additions and 4 deletions

View file

@ -551,7 +551,7 @@ function paginate(&$a)
// $stripped = preg_replace('/&zid=(.*?)([\?&]|$)/ism','',$stripped);
$stripped = str_replace('q=', '', $stripped);
$stripped = str_replace('req=', '', $stripped);
$stripped = trim($stripped, '/');
$pagenum = App::$pager['page'];
$url = z_root() . '/' . $stripped;
@ -616,7 +616,7 @@ function alt_pager($i, $more = '', $less = '')
}
$stripped = preg_replace('/(&page=[0-9]*)/', '', App::$query_string);
$stripped = str_replace('q=', '', $stripped);
$stripped = str_replace('req=', '', $stripped);
$stripped = trim($stripped, '/');
//$pagenum = App::$pager['page'];
$url = z_root() . '/' . $stripped;

View file

@ -61,8 +61,6 @@ class Enotify
return;
}
// from here on everything is in the recipients language
push_lang($recip['account_language']); // should probably have a channel language