# 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/library/cb/cb.acl.php +++ administrator/components/com_comprofiler/library/cb/cb.acl.php @@ -256,6 +256,14 @@ $access_levels = array(); for ( $i = 0, $n = count( $levels ); $i < $n; $i++ ) { + if ( $levels[$i]->value == 1 ) { + $levels[$i]->value = 0; + } elseif ( $levels[$i]->value == 2 ) { + $levels[$i]->value = 1; + } elseif ( $levels[$i]->value == 3 ) { + $levels[$i]->value = 2; + } + \ No newline at end of file $levels[$i]->text = JText::_( $levels[$i]->text ); if ( $html ) {