Skip to content

Commit

Permalink
MDL-32727 - quiz: fix incorrect variable name in upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed May 18, 2012
1 parent 5316007 commit eeba64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eeba64d

Please sign in to comment.