From dcf9c14c2b687befe2f9af0a5c2899002b1d54fd Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 24 Sep 2006 00:13:22 +0000 Subject: [PATCH] Typo --- admin/xmldb/actions/test/test.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/xmldb/actions/test/test.class.php b/admin/xmldb/actions/test/test.class.php index 7d9874f49f..3ba629cb4f 100644 --- a/admin/xmldb/actions/test/test.class.php +++ b/admin/xmldb/actions/test/test.class.php @@ -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); -- 2.39.5