]> git.mjollnir.org Git - moodle.git/commitdiff
Change one test a bit...
authorstronk7 <stronk7>
Fri, 29 Sep 2006 17:29:08 +0000 (17:29 +0000)
committerstronk7 <stronk7>
Fri, 29 Sep 2006 17:29:08 +0000 (17:29 +0000)
admin/xmldb/actions/test/test.class.php

index 17cecccff3c1170390ba1c6ddc7b68776771c619..26e64b45ff46c2e66d66d2be66e47d0d380c4409 100644 (file)
@@ -265,7 +265,7 @@ class test extends XMLDBAction {
         /// Get SQL code and execute it
             $test = new stdClass;
             $field = new XMLDBField('grade');
-            $field->setAttributes(XMLDB_TYPE_NUMBER, '10,2', XMLDB_UNSIGNED, null, null, null, null, null);
+            $field->setAttributes(XMLDB_TYPE_NUMBER, '20,10', XMLDB_UNSIGNED, null, null, null, null, null);
 
             $test->sql = $table->getAlterFieldSQL($CFG->dbtype, $CFG->prefix, $field, true);
             $test->status = change_field_type($table, $field, false, false);