Project

General

Profile

Bug #2287 » 2287a.patch

krileon, 04 February 2011 18:35

View differences:

administrator/components/com_comprofiler/plugin.foundation.php
} else {
if ( checkJversion() == 2 ) {
global $_CB_framework;
$obj->gid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( array_values( $obj->groups ) );
$obj->gid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( array_values( (array) $obj->groups ) );
}
}
}
......
$_CB_framework->acl = new CBACL( $acl );
if ( checkJversion() == 2 ) {
$_CB_framework->_myCmsGid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( array_values( $my->groups ) );
$_CB_framework->_myCmsGid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( array_values( (array) $my->groups ) );
}
/**
* CB text languages EXPERIMENTAL
(1-1/2)