Skip to content

Commit

Permalink
Merge pull request civicrm#18 from elinw/4.4
Browse files Browse the repository at this point in the history
CRM-14229 Static call to non static method in Joomla
  • Loading branch information
dlobo committed Feb 17, 2014
2 parents ceca9db + cebc14e commit c4f1d19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/civicrm.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ function civicrm_invoke() {
// overrride the GET values if conflict
if (CRM_Utils_Array::value('Itemid', $_REQUEST)) {
$component = JComponentHelper::getComponent('com_civicrm');
$menu = JSite::getMenu();
$params = $menu->getParams($_REQUEST['Itemid']);
$app = JFactory::getApplication();
$menu = $app->getMenu();
$params = $menu->getParams($app->input->get('Itemid'));
$args = array('task', 'id', 'gid', 'pageId', 'action', 'csid', 'component');
$view = CRM_Utils_Array::value('view', $_REQUEST);
if ($view) {
Expand Down

0 comments on commit c4f1d19

Please sign in to comment.