Skip to content

Commit

Permalink
Merge branch 'MDL-54006-master' of git://github.com/lameze/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed May 2, 2016
2 parents 5ba312b + 0de3caf commit 2df5ede
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions admin/tool/uploaduser/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1119,8 +1119,10 @@
}
$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();
Expand Down

0 comments on commit 2df5ede

Please sign in to comment.