]> git.mjollnir.org Git - moodle.git/commitdiff
small change to type of returned var from is_validated()
authorjamiesensei <jamiesensei>
Mon, 4 Dec 2006 10:59:07 +0000 (10:59 +0000)
committerjamiesensei <jamiesensei>
Mon, 4 Dec 2006 10:59:07 +0000 (10:59 +0000)
lib/formslib.php

index 4b541ea04485dfcfcacad38b084a1e43829c3868..0947dc64a5c8f3680fba12ca6569aac06a8ed3da 100644 (file)
@@ -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) {