]> git.mjollnir.org Git - moodle.git/commit
MDL-15897: Changed admin_setting_configtext.validate() check to not treat all strings...
authorashleyholman <ashleyholman>
Fri, 18 Sep 2009 03:52:50 +0000 (03:52 +0000)
committerashleyholman <ashleyholman>
Fri, 18 Sep 2009 03:52:50 +0000 (03:52 +0000)
commit58aaa8e97e2ace2c8c804a069b109a8e2319ef30
tree94e00a4cd409dac30be7b5b260b02f935c607573
parentfd4faf98fecba392aec09c5d3824348e765e21f8
MDL-15897: Changed admin_setting_configtext.validate() check to not treat all strings as custom regex's (since PARAM_* constants are now strings).

Instead require them to have '/' at the beginning and end of the pattern.

The only setting that appears to use a custom regex is scorm/apidebugmask - now updated to contain surrounding slashes.
lib/adminlib.php
mod/scorm/settings.php