# 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/controller/controller.default.php +++ administrator/components/com_comprofiler/controller/controller.default.php @@ -2665,15 +2665,15 @@ 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; \ No newline at end of file + $access = ( checkJversion() == 2 ? 3 : 2 ); \ No newline at end of file break; }