mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Rmove guest from list of possible teachers
This commit is contained in:
parent
f781b79425
commit
fc5c407eef
@ -119,9 +119,11 @@
|
||||
$users = get_records_sql("SELECT * from user WHERE confirmed = 1
|
||||
AND (firstname LIKE '%$search%' OR
|
||||
lastname LIKE '%$search%' OR
|
||||
email LIKE '%$search%')");
|
||||
email LIKE '%$search%')
|
||||
AND username <> 'guest'");
|
||||
} else {
|
||||
$users = get_records("user", "confirmed", "1");
|
||||
$users = get_records_sql("SELECT * from user WHERE confirmed = 1
|
||||
AND username <> 'guest'");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user