Project

General

Profile

Bug #2270 » 2270b-rev2.patch

krileon, 31 January 2011 21:25

View differences:

administrator/components/com_comprofiler/controller/controller.default.php
. "\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";
$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 ) ) )";
} else {
$query .= "\n LEFT JOIN #__groups AS g ON g.id = m.access";
}
(5-5/5)