]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9151 fixed missing global definition, sorry :-(
authorskodak <skodak>
Thu, 19 Apr 2007 12:18:44 +0000 (12:18 +0000)
committerskodak <skodak>
Thu, 19 Apr 2007 12:18:44 +0000 (12:18 +0000)
lib/weblib.php

index 5f34a0805f8782c2e87ba94ce953826f1a41b562..823c2220185405856a6ad68ec83e119ff7eebcbf 100644 (file)
@@ -1658,6 +1658,8 @@ function trusttext_prepare_edit(&$text, &$format, $usehtmleditor, $context) {
  */
 function clean_text($text, $format=FORMAT_MOODLE) {
 
+    global $ALLOWED_TAGS, $CFG;
+
     if (empty($text) or is_numeric($text)) {
        return (string)$text; 
     }