]> git.mjollnir.org Git - moodle.git/commitdiff
Changes to dmllib seem to have broken quiz backup. This makes it work again. Merged...
authortjhunt <tjhunt>
Mon, 16 Oct 2006 14:54:55 +0000 (14:54 +0000)
committertjhunt <tjhunt>
Mon, 16 Oct 2006 14:54:55 +0000 (14:54 +0000)
mod/quiz/backuplib.php

index 9acde063d554fd2a601d8162af33aeb5bcafad73..121d483796276d51de39d658a33eb6a3c5c7f4ef 100644 (file)
@@ -54,8 +54,8 @@
 
         //Detect used categories (by category in questions)
         $status = execute_sql("INSERT INTO {$CFG->prefix}backup_ids
-                                   (backup_code, table_name, old_id)
-                               SELECT DISTINCT $backup_unique_code,'question_categories',t.category
+                                   (backup_code, table_name, old_id, info)
+                               SELECT DISTINCT $backup_unique_code,'question_categories',t.category,''
                                FROM {$CFG->prefix}question t,
                                     {$CFG->prefix}quiz_question_instances g
                                     $from