MDL-28127 incorrect lang string placeholder in question engine upgrade.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Thu, 30 Jun 2011 14:20:42 +0000 (15:20 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Thu, 30 Jun 2011 14:20:42 +0000 (15:20 +0100)
question/engine/upgrade/upgradelib.php

index 8cbe1be..5ca15b3 100644 (file)
@@ -67,7 +67,7 @@ class question_engine_attempt_upgrader {
         gc_collect_cycles(); // This was really helpful in PHP 5.2. Perhaps remove.
         $a = new stdClass();
         $a->done = $done;
-        $a->todo = $outof;
+        $a->outof = $outof;
         $a->info = $quizid;
         $this->progressbar->update($done, $outof, get_string('upgradingquizattempts', 'quiz', $a));
     }