From: nicolasconnault Date: Thu, 6 Aug 2009 00:26:09 +0000 (+0000) Subject: MDL-19756 Fixed BC of update_module_button() X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9c7b33853323ca7bd451dfed7f5f31d269176869;p=moodle.git MDL-19756 Fixed BC of update_module_button() --- diff --git a/lib/deprecatedlib.php b/lib/deprecatedlib.php index b4d87d952c..e26d863985 100644 --- a/lib/deprecatedlib.php +++ b/lib/deprecatedlib.php @@ -3521,7 +3521,7 @@ function update_module_button($cmid, $ignored, $string) { // debugging('update_module_button() has been deprecated. Please change your code to use $OUTPUT->update_module_button().'); - return $OUTPUT->update_module_button($cmid, $string); + return $OUTPUT->update_module_button($cmid, strtolower($string)); } /**