]> git.mjollnir.org Git - moodle.git/commit
validation can return an empty array() or true to indicate no errors. array() is...
authorjamiesensei <jamiesensei>
Fri, 6 Jul 2007 04:03:51 +0000 (04:03 +0000)
committerjamiesensei <jamiesensei>
Fri, 6 Jul 2007 04:03:51 +0000 (04:03 +0000)
commit43914931f7cafa7cd52740091b753f1e0aa52482
tree53752c0f62b01c1c52714b11929de167968d513c
parent02046f93fab04b2a126792a43b5bd20acb680972
validation can return an empty array() or true to indicate no errors. array() is preferred since then parent class validation functions can be chained. Changing  moodle_form validation method to return array() so that chaining works in question types. Shouldn't affect other forms code.
lib/formslib.php