From 178652e9eb934f02f6d4a500247d817454940697 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Wed, 3 Apr 2013 12:21:04 +0800 Subject: [PATCH] MDL-10516 Question Type - Fix upgrade code so new install matches upgrade. --- question/type/essay/db/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/essay/db/upgrade.php b/question/type/essay/db/upgrade.php index 4f0426858d3..f56535b61d7 100644 --- a/question/type/essay/db/upgrade.php +++ b/question/type/essay/db/upgrade.php @@ -126,7 +126,7 @@ function xmldb_qtype_essay_upgrade($oldversion) { $dbman->add_field($table, $field); } - $field = new xmldb_field('responsetemplateformat', XMLDB_TYPE_INTEGER, '2', + $field = new xmldb_field('responsetemplateformat', XMLDB_TYPE_INTEGER, '4', null, XMLDB_NOTNULL, null, '0', 'responsetemplate'); if (!$dbman->field_exists($table, $field)) { $dbman->add_field($table, $field); -- 2.11.4.GIT