mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
Merge branch 'MDL-42633-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
ad5a1a5d48
@ -8611,7 +8611,8 @@ function message_popup_window() {
|
||||
}
|
||||
|
||||
// Got unread messages so now do another query that joins with the user table.
|
||||
$messagesql = "SELECT m.id, m.smallmessage, m.fullmessageformat, m.notification, u.firstname, u.lastname
|
||||
$namefields = get_all_user_name_fields(true, 'u');
|
||||
$messagesql = "SELECT m.id, m.smallmessage, m.fullmessageformat, m.notification, $namefields
|
||||
FROM {message} m
|
||||
JOIN {message_working} mw ON m.id=mw.unreadmessageid
|
||||
JOIN {message_processors} p ON mw.processorid=p.id
|
||||
|
Loading…
x
Reference in New Issue
Block a user