Skip to content

Commit

Permalink
CRM-14106 - Replace CRM_Utils_Array::value with \!empty
Browse files Browse the repository at this point in the history
  • Loading branch information
colemanw committed Jan 22, 2014
1 parent ceca9db commit 8fcf28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/civicrm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 8fcf28a

Please sign in to comment.