database MDL-24349 fixed a bug with database field presets. textareas werent being...
authorAndrew Davis <andrew@affinitysoftware.net>
Thu, 30 Sep 2010 02:40:51 +0000 (02:40 +0000)
committerAndrew Davis <andrew@affinitysoftware.net>
Thu, 30 Sep 2010 02:40:51 +0000 (02:40 +0000)
mod/data/lib.php

index a99e73e..7f520b2 100755 (executable)
@@ -2108,7 +2108,7 @@ abstract class data_preset_importer {
      * @return bool
      */
     function import($overwritesettings) {
-        global $DB;
+        global $DB, $CFG;
 
         $params = $this->get_preset_settings();
         $settings = $params->settings;