Project

General

Profile

Bug #3128 ยป 3128.patch

krileon, 30 January 2012 22:06

View differences:

/administrator/components/com_comprofiler/controller/controller.users.php
// do not do this otherwise substitutions do not work:
// CBuser::setUserGetCBUserInstance( $rows[$k] );
}
// translate usergroups for j1.6+
if ( checkJversion() == 2 ) {
foreach ( $rows as $row ) {
$groupnames = explode( ', ', $row->groupname );
for ( $i = 0, $n = count( $groupnames ); $i < $n; $i++ ) {
$groupnames[$i] = JText::_( $groupnames[$i] );
}
$row->groupname = implode( ', ', $groupnames );
}
}
$template = 'SELECT COUNT(s.userid) FROM #__session AS s WHERE s.userid = ';
$n = count( $rows );
for ( $i = 0; $i < $n; $i++ ) {
    (1-1/1)