Hi,
I found a little bug in the user directory. The invisible users are still visible in the directory when we do a seach and click to order the results with the variable "user_last_seen" (see the attachment file).
I don't know why this code in User.pm doesn't work when we do a search:
elsif ($sb eq 'user_last_seen' and !$USER || $USER->{user_status} < ADMINISTRATOR) {
$cond = GT::SQL::Condition->new(user_invisible => '=' => 0);
}
Thank you.
François
I found a little bug in the user directory. The invisible users are still visible in the directory when we do a seach and click to order the results with the variable "user_last_seen" (see the attachment file).
I don't know why this code in User.pm doesn't work when we do a search:
elsif ($sb eq 'user_last_seen' and !$USER || $USER->{user_status} < ADMINISTRATOR) {
$cond = GT::SQL::Condition->new(user_invisible => '=' => 0);
}
Thank you.
François