]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19756 Fixed BC of update_module_button()
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 00:26:09 +0000 (00:26 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 00:26:09 +0000 (00:26 +0000)
lib/deprecatedlib.php

index b4d87d952c3a56bb40b2bfc6e12d1c4247ae718a..e26d86398588217ab2f73f14608d95df28e58e4b 100644 (file)
@@ -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));
 }
 
 /**