Skip to content

Commit 1fb7a06

Browse files
committed
Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-02-18-07-53-48
2 parents 02c97e2 + c4f1d19 commit 1fb7a06

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

site/civicrm.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ function civicrm_invoke() {
5858
// overrride the GET values if conflict
5959
if (!empty($_REQUEST['Itemid'])) {
6060
$component = JComponentHelper::getComponent('com_civicrm');
61-
$menu = JSite::getMenu();
62-
$params = $menu->getParams($_REQUEST['Itemid']);
61+
$app = JFactory::getApplication();
62+
$menu = $app->getMenu();
63+
$params = $menu->getParams($app->input->get('Itemid'));
6364
$args = array('task', 'id', 'gid', 'pageId', 'action', 'csid', 'component');
6465
$view = CRM_Utils_Array::value('view', $_REQUEST);
6566
if ($view) {

0 commit comments

Comments
 (0)