From: jamiesensei Date: Mon, 4 Dec 2006 10:59:07 +0000 (+0000) Subject: small change to type of returned var from is_validated() X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1c51317b2cc6f7fa102c86ade712d0fd0c966538;p=moodle.git small change to type of returned var from is_validated() --- diff --git a/lib/formslib.php b/lib/formslib.php index 4b541ea044..0947dc64a5 100644 --- a/lib/formslib.php +++ b/lib/formslib.php @@ -263,7 +263,7 @@ class moodleform { $mform =& $this->_form; foreach ($mform->_noSubmitButtons as $nosubmitbutton){ if (optional_param($nosubmitbutton, 0, PARAM_RAW)){ - return NULL; + return false; } } if ($validated === null) {