From 8fcf28a18d2daad10fc345431aa98800196449b7 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 21 Jan 2014 17:48:36 -0800 Subject: [PATCH] CRM-14106 - Replace CRM_Utils_Array::value with \!empty --- site/civicrm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']);