MDL-15106 towards data mod dml conversion

This commit is contained in:
skodak
2008-06-05 19:26:57 +00:00
parent b13746a483
commit a656d95103
26 changed files with 190 additions and 162 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ class data_field_base { // Base class for Database Field Types (see field/*/
// Print the relevant form element to define the attributes for this field
// viewable by teachers only.
function display_edit_field() {
global $CFG;
global $CFG, $DB;
if (empty($this->field)) { // No field has been defined yet, try and make one
$this->define_default_field();