# 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 @@ -2482,7 +2482,7 @@ } 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 ) ); } } } @@ -3231,7 +3233,7 @@ $_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