Bug #2270 » 2270c.patch
| administrator/components/com_comprofiler/controller/controller.default.php | ||
|---|---|---|
|
|
||
|
switch ( $access ) {
|
||
|
case 'accesspublic':
|
||
|
$access = 0;
|
||
|
$access = ( checkJversion() == 2 ? 1 : 0 );
|
||
|
break;
|
||
|
|
||
|
case 'accessregistered':
|
||
|
$access = 1;
|
||
|
$access = ( checkJversion() == 2 ? 2 : 1 );
|
||
|
break;
|
||
|
|
||
|
case 'accessspecial':
|
||
|
$access = 2;
|
||
|
$access = ( checkJversion() == 2 ? 3 : 2 );
|
||
|
break;
|
||
|
}
|
||
|
|
||