MDL-38003 upgrade: whitespace fix.

This commit is contained in:
Eloy Lafuente (stronk7)
2013-02-26 03:13:36 +01:00
parent 6b068d6643
commit 87fe3c030d
+1 -1
View File
@@ -85,7 +85,7 @@ function xmldb_survey_upgrade($oldversion) {
if ($fieldname == 'time') {
$DB->execute("UPDATE " . $CFG->prefix . $tablename . " SET {$fieldname} = 0 WHERE {$fieldname} IS NULL", array($DB->sql_empty()));
} else {
$DB->execute("UPDATE " . $CFG->prefix . $tablename . " SET {$fieldname} = ? WHERE {$fieldname} IS NULL", array($DB->sql_empty()));
$DB->execute("UPDATE " . $CFG->prefix . $tablename . " SET {$fieldname} = ? WHERE {$fieldname} IS NULL", array($DB->sql_empty()));
}
$dbman->change_field_precision($table, $field);
}