# 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 @@ -2671,7 +2671,7 @@ } 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 ) ) ); } } } @@ -3430,7 +3430,7 @@ $_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