mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
Merge branch 'MDL-76559-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
6661a3eb45
@ -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