# 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 @@ -2511,7 +2511,7 @@ . "\n LEFT JOIN #__users AS u ON u.id = m.checked_out"; if ( checkJversion() == 2 ) { - $query .= "\n LEFT JOIN #__viewlevels AS g ON g.id = m.access"; \ No newline at end of file + $query .= "\n LEFT JOIN #__viewlevels AS g ON g.id = IF( m.access = 0, 1, IF( m.access = 1, 2, IF( m.access = 2, 3, m.access ) ) )"; \ No newline at end of file } else { $query .= "\n LEFT JOIN #__groups AS g ON g.id = m.access"; }