From: agrabs Date: Tue, 27 May 2008 05:00:58 +0000 (+0000) Subject: mistake in writing on update the multichoice-items X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bfc59a67638d3847822b360cc93a0f99c30bfd1c;p=moodle.git mistake in writing on update the multichoice-items --- diff --git a/mod/feedback/db/upgrade.php b/mod/feedback/db/upgrade.php index 5fce1ee69b..5dffd1047a 100644 --- a/mod/feedback/db/upgrade.php +++ b/mod/feedback/db/upgrade.php @@ -151,8 +151,8 @@ function xmldb_feedback_upgrade($oldversion=0) { if ($result && $oldversion < 2008042401) { //New version in version.php if ($result) { $concat_radio = $DB->sql_concat("'r>>>>>'",'presentation'); - $concat_check = $DB->sql_concat("'d>>>>>'",'presentation'); - $concat_dropdown = $DB->sql_concat("'c>>>>>'",'presentation'); + $concat_check = $DB->sql_concat("'c>>>>>'",'presentation'); + $concat_dropdown = $DB->sql_concat("'d>>>>>'",'presentation'); $update_sql1 = "UPDATE {feedback_item} SET presentation = ".$concat_radio." WHERE typ IN('radio','radiorated')"; $update_sql2 = "UPDATE {feedback_item} SET presentation = ".$concat_dropdown." WHERE typ IN('dropdown','dropdownrated')";