X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FPager.php;h=0774e49009cbd96bfe9e394da9d658c9e8d37755;hb=57bab6b5fb5bdc40ef82371c8f0b29cf9237c619;hp=a5bc97b8504433ea8ac736666cecf128c63cfeaf;hpb=37c3f814fbddd27fc9a8e668952f3006a22a7b30;p=civicrm-core.git diff --git a/CRM/Utils/Pager.php b/CRM/Utils/Pager.php index a5bc97b850..0774e49009 100644 --- a/CRM/Utils/Pager.php +++ b/CRM/Utils/Pager.php @@ -239,8 +239,7 @@ class CRM_Utils_Pager extends Pager_Sliding { * @return string */ public function getCurrentLocation() { - $config = CRM_Core_Config::singleton(); - $path = $_GET[$config->userFrameworkURLVar] ?? NULL; + $path = CRM_Utils_System::currentPath(); return CRM_Utils_System::url($path, CRM_Utils_System::getLinksUrl(self::PAGE_ID, FALSE, TRUE), FALSE, NULL, FALSE) . $this->getCurrentPageID(); }