Merge pull request #13059 from seamuslee001/lab_core_505
[civicrm-core.git] / CRM / Event / Form / ManageEvent.php
index d3173546fab3eef4170bbc56f0b26b35d2032385..5e58066d398c2fb046a356b25431b4cf3a95d339 100644 (file)
@@ -357,7 +357,7 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form {
       switch ($className) {
         case 'Event':
           $attributes = $this->getVar('_attributes');
-          $subPage = strtolower(basename(CRM_Utils_Array::value('action', $attributes)));
+          $subPage = CRM_Utils_Request::retrieveComponent($attributes);
           break;
 
         case 'EventInfo':