mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-54006-master' of git://github.com/lameze/moodle
This commit is contained in:
commit
2df5ede635
@ -1119,8 +1119,10 @@ if ($formdata = $mform2->is_cancelled()) {
|
||||
}
|
||||
$upt->close(); // close table
|
||||
if (!empty($validation)) {
|
||||
foreach ($validation as $username => $error) {
|
||||
\core\notification::warning(get_string('invaliduserdata', 'tool_uploaduser', s($username)));
|
||||
foreach ($validation as $username => $result) {
|
||||
if ($result !== true) {
|
||||
\core\notification::warning(get_string('invaliduserdata', 'tool_uploaduser', s($username)));
|
||||
}
|
||||
}
|
||||
}
|
||||
$cir->close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user