Skip to content

Commit 556adb3

Browse files
author
Ravish Nair
committed
-- CRM-13374 fix for Joomla 3.x (this will work for both 2.5.x and 3.x)
---------------------------------------- * CRM-13374: Select Event invalidation http://issues.civicrm.org/jira/browse/CRM-13374
1 parent 92f9a90 commit 556adb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/civicrm.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ function civicrm_invoke() {
5656

5757
// add all the values from the itemId param
5858
// overrride the GET values if conflict
59-
if (CRM_Utils_Array::value('Itemid', $_GET)) {
59+
if (CRM_Utils_Array::value('Itemid', $_REQUEST)) {
6060
$component = JComponentHelper::getComponent('com_civicrm');
6161
$menu = JSite::getMenu();
62-
$params = $menu->getParams($_GET['Itemid']);
62+
$params = $menu->getParams($_REQUEST['Itemid']);
6363
$args = array('task', 'id', 'gid', 'pageId', 'action', 'csid', 'component');
64-
$view = CRM_Utils_Array::value('view', $_GET);
64+
$view = CRM_Utils_Array::value('view', $_REQUEST);
6565
if ($view) {
6666
$args[] = 'reset';
6767
}

0 commit comments

Comments
 (0)