Merge pull request #17474 from eileenmcnaughton/processor_name
[civicrm-core.git] / Civi / Core / Themes.php
index c3550bc63d30428fc4fbc97fac965e888453a3ba..8e7dc5988dc4e81904cd713ee6776b22f9b05c58 100644 (file)
@@ -78,7 +78,7 @@ class Themes {
 
       \CRM_Utils_Hook::activeTheme($themeKey, [
         'themes' => $this,
-        'page' => \CRM_Utils_Array::value(\CRM_Core_Config::singleton()->userFrameworkURLVar, $_GET),
+        'page' => \CRM_Utils_System::currentPath(),
       ]);
 
       $themes = $this->getAll();