diff --git a/site/civicrm.php b/site/civicrm.php index c8f94a16..b8d83cc5 100644 --- a/site/civicrm.php +++ b/site/civicrm.php @@ -56,7 +56,7 @@ function civicrm_invoke() { // add all the values from the itemId param // overrride the GET values if conflict - if (CRM_Utils_Array::value('Itemid', $_REQUEST)) { + if (!empty($_REQUEST['Itemid'])) { $component = JComponentHelper::getComponent('com_civicrm'); $menu = JSite::getMenu(); $params = $menu->getParams($_REQUEST['Itemid']);