Project

General

Profile

Bug #2752 » plugin.foundation.patch

krileon, 15 September 2011 15:53

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( (array) $obj->groups ) );
$obj->gid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( array_values( (array) JFactory::getAcl()->getGroupsByUser( $obj->id, false ) ) );
}
}
}
......
$_CB_framework->acl = new CBACL( $acl );
if ( checkJversion() == 2 ) {
$_CB_framework->_myCmsGid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( array_values( (array) $my->groups ) );
$_CB_framework->_myCmsGid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( array_values( (array) $acl->getGroupsByUser( $my->id, false ) ) );
}
/**
* CB text languages EXPERIMENTAL
(2-2/2)