# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: Joomla root # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/plugin/user/plug_pms_mypmspro/pms.mypmspro.php +++ components/com_comprofiler/plugin/user/plug_pms_mypmspro/pms.mypmspro.php @@ -1255,10 +1255,12 @@ if ( $notLoaded ) { if ( defined( 'JPATH_ADMINISTRATOR' ) ) { if ( file_exists( JPATH_SITE.'/components/com_uddeim/uddeimlib17.php' ) ) { - $ver = new JVersion(); - if (!strncasecmp($ver->RELEASE, "1.7", 3)) { + $ver = checkJversion( 'release' ); + if (!strncasecmp($ver, "2.5", 3)) { + require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib25.php'); + } elseif (!strncasecmp($ver, "1.7", 3)) { require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib17.php'); - } elseif (!strncasecmp($ver->RELEASE, "1.6", 3)) { + } elseif (!strncasecmp($ver, "1.6", 3)) { require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib16.php'); } else { require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib15.php');