Permalink
Browse files

MDL-32727 - quiz: fix incorrect variable name in upgrade

  • Loading branch information...
1 parent 5316007 commit eeba64d02e7d606d84fb0b6fec6fb1d42d890645 @danpoltawski danpoltawski committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/db/upgrade.php
View
@@ -113,7 +113,7 @@ function xmldb_quiz_upgrade($oldversion) {
// Get a list of response variables that have files.
require_once($CFG->dirroot . '/question/type/questiontypebase.php');
$variables = array();
- foreach (get_plugin_list('qtype') as $plugin => $path) {
+ foreach (get_plugin_list('qtype') as $qtypename => $path) {
$file = $path . '/questiontype.php';
if (!is_readable($file)) {
continue;

0 comments on commit eeba64d

Please sign in to comment.