Project

General

Profile

Actions

Bug #3335

closed

J2.5+UddeIM: CB PMS Integration needs updating for Joomla 2.5 and uddeIM

Added by nant over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
12 March 2012
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

Stephan Slabihoud:
Hi, there is a small bug in pms.mypmspro.php which makes it incompatible with Joomla 2.5 when uddeIM is selected:
Please load the libraries with following code:

if ( defined( 'JPATH_ADMINISTRATOR' ) ) {
jimport( 'joomla.version' );
$ver = new JVersion();
if (!strncasecmp($ver->RELEASE, "2.5", 3)) {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib25.php');
} elseif (!strncasecmp($ver->RELEASE, "1.5", 3)) {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib15.php');
} elseif (!strncasecmp($ver->RELEASE, "1.6", 3)) {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib16.php');
} elseif (!strncasecmp($ver->RELEASE, "1.7", 3)) {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib17.php');
} else {
 require_once(JPATH_SITE.'/components/com_uddeim/uddeimlib25.php');
}
} else {
global $mainframe;
require_once($mainframe->getCfg('absolute_path').'/components/com_uddeim/uddeimlib10.php');
}

In the current version the 2.5 layer is missing.
Thx!


Files

3335.patch (2.17 KB) 3335.patch krileon, 10 April 2012 17:26
3335_rev1.patch (2.14 KB) 3335_rev1.patch krileon, 19 June 2012 20:51
3335_rev2.patch (1.26 KB) 3335_rev2.patch krileon, 19 June 2012 21:21
Actions

Also available in: Atom PDF