mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
Merge branch 'MDL-76559-master' of https://github.com/andrewnicols/moodle
This commit is contained in:
commit
5935cd22c1
@ -1109,7 +1109,7 @@ function page_get_doc_link_path(moodle_page $page) {
|
||||
function validate_email($address) {
|
||||
global $CFG;
|
||||
|
||||
if ($address === null || $address === '') {
|
||||
if ($address === null || $address === false || $address === '') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user