X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FCore%2FThemes.php;h=8e7dc5988dc4e81904cd713ee6776b22f9b05c58;hb=704d27ceb1afe752dd738a8de497e6c64675725d;hp=c3550bc63d30428fc4fbc97fac965e888453a3ba;hpb=f9a004f39214024279a03032092aef661620a7e0;p=civicrm-core.git diff --git a/Civi/Core/Themes.php b/Civi/Core/Themes.php index c3550bc63d..8e7dc5988d 100644 --- a/Civi/Core/Themes.php +++ b/Civi/Core/Themes.php @@ -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();