Project

General

Profile

Bug #2270 » 2270a-rev2.patch

krileon, 31 January 2011 21:25

View differences:

administrator/components/com_comprofiler/library/cb/cb.acl.php
$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;
}
$levels[$i]->text = JText::_( $levels[$i]->text );
if ( $html ) {
(4-4/5)