diff --git a/include/misc.php b/include/misc.php index a447928c1..bd42d6fcc 100644 --- a/include/misc.php +++ b/include/misc.php @@ -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; diff --git a/src/Lib/Enotify.php b/src/Lib/Enotify.php index 0b3192673..8690dd523 100644 --- a/src/Lib/Enotify.php +++ b/src/Lib/Enotify.php @@ -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