mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-54928 notifications: Add username to emailto users
This commit is contained in:
parent
3ce71f4eef
commit
6f2815fa51
@ -97,7 +97,7 @@ if ($data = data_submitted()) {
|
||||
if (!array_key_exists($m[2], $SESSION->emailto[$id])) {
|
||||
if ($user = $DB->get_record_select('user', "id = ?", array($m[2]), 'id, '.
|
||||
$namefields . ', idnumber, email, mailformat, lastaccess, lang, '.
|
||||
'maildisplay, auth, suspended, deleted, emailstop')) {
|
||||
'maildisplay, auth, suspended, deleted, emailstop, username')) {
|
||||
$SESSION->emailto[$id][$m[2]] = $user;
|
||||
$count++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user