]> git.mjollnir.org Git - moodle.git/commitdiff
Typo
authorstronk7 <stronk7>
Sun, 24 Sep 2006 00:13:22 +0000 (00:13 +0000)
committerstronk7 <stronk7>
Sun, 24 Sep 2006 00:13:22 +0000 (00:13 +0000)
admin/xmldb/actions/test/test.class.php

index 7d9874f49f132b08494786fc8fcc7d43cfe69ad1..3ba629cb4f05e8f4bd8866d60a5dc993701f9ec9 100644 (file)
@@ -221,7 +221,7 @@ class test extends XMLDBAction {
         /// Get SQL code and execute it
             $test = new stdClass;
             $field = new XMLDBField('secondname');
-            $field->setAttributes(XMLDB_TYPE_CHAR, '10', null, XMLDB_NOT_NULL, null, null, null, null);
+            $field->setAttributes(XMLDB_TYPE_CHAR, '10', null, XMLDB_NOTNULL, null, null, null, null);
             
             $test->sql = $table->getAlterFieldSQL($CFG->dbtype, $CFG->prefix, $field, true);
             $test->status = change_field_precision($table, $field, false, false);