# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/plugin.foundation.php +++ administrator/components/com_comprofiler/plugin.foundation.php @@ -3155,8 +3155,10 @@ switch ( checkJversion() ) { case 2: - global $mainframe; + global $mainframe, $Itemid; + $uri =& JFactory::getURI(); + $Itemid = (int) $uri->getVar( 'Itemid' ); $mainframe =& JFactory::getApplication(); $tmpDatabase =& JFactory::getDBO(); $my =& JFactory::getUser();