]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15229
authorthepurpleblob <thepurpleblob>
Fri, 13 Jun 2008 10:52:58 +0000 (10:52 +0000)
committerthepurpleblob <thepurpleblob>
Fri, 13 Jun 2008 10:52:58 +0000 (10:52 +0000)
Fixed incorrect options array for DB call

question/format.php

index a9f1bc5593b84c0bb36ef7c8e03cf2d65b589781..e6865264f6192e5c7ee8310b6a80577fd8b7976a 100644 (file)
@@ -316,7 +316,7 @@ class qformat_default {
             }
 
             // Give the question a unique version stamp determined by question_hash()
-            $DB->set_field('question', 'version', question_hash($question), array('id'$question->id));
+            $DB->set_field('question', 'version', question_hash($question), array('id'=>$question->id));
         }
         return true;
     }