# 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 @@ -2470,7 +2470,8 @@ $obj = null; } else { if ( checkJversion() == 2 ) { - $obj->gid = end( array_keys( $obj->groups ) ); + global $_CB_framework; + $obj->gid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( array_values( $obj->groups ) ); } } }