Permalink
Browse files

MDL-29089 gradebook: fixed incorrect precision

  • Loading branch information...
1 parent 73f5ebe commit 80f01595af670cd9ba4db8eb22fc632ff2a45887 @nebgor nebgor committed Oct 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/db/upgrade.php
View
2 lib/db/upgrade.php
@@ -6732,7 +6732,7 @@ function xmldb_main_upgrade($oldversion) {
// Check for potential missing columns in the grade_items_history
$table = new xmldb_table('grade_items_history');
- $field = new xmldb_field('display', XMLDB_TYPE_INTEGER, '10', XMLDB_TYPE_INTEGER, XMLDB_NOTNULL, null, 0, 'sortorder');
+ $field = new xmldb_field('display', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, 0, 'sortorder');
if (!$dbman->field_exists($table, $field)) {
$dbman->add_field($table, $field);
}

0 comments on commit 80f0159

Please sign in to comment.