Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73f5ebe
)
MDL-29089 gradebook: fixed incorrect precision
author
Aparup Banerjee
<aparup@moodle.com>
Wed, 5 Oct 2011 07:14:27 +0000
(15:14 +0800)
committer
Aparup Banerjee
<aparup@moodle.com>
Wed, 5 Oct 2011 07:14:27 +0000
(15:14 +0800)
lib/db/upgrade.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/db/upgrade.php
b/lib/db/upgrade.php
index
f274442
..
8ab21df
100755
(executable)
--- a/
lib/db/upgrade.php
+++ b/
lib/db/upgrade.php
@@
-6732,7
+6732,7
@@
FROM
// 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);
}