Project

General

Profile

Bug #2270 » 2270c.patch

krileon, 31 January 2011 19:49

View differences:

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;
}
(3-3/5)