CRM_Utils_Hook_Joomla - Fix error loading JPluginHelper in Joomla 3.2
authorTim Otten <totten@civicrm.org>
Wed, 8 Jan 2014 01:55:32 +0000 (17:55 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 8 Jan 2014 01:55:32 +0000 (17:55 -0800)
CRM/Utils/Hook/Joomla.php

index 013d5d54e70a18c62bffea40a50ea9d225f82f26..fcf10ee9a75ad9fb0c5dad46fdf2627297786ebd 100644 (file)
@@ -44,6 +44,7 @@ class CRM_Utils_Hook_Joomla extends CRM_Utils_Hook {
     if (defined('_JEXEC')) {
       //Invoke the Joomla plugin system to observe to civicrm events.
       jimport('joomla.plugin.helper');
+      jimport('cms.plugin.helper'); // Joomla 3.2
       JPluginHelper::importPlugin('civicrm');
 
       // get app based on cli or web