Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit eeba64d02e7d606d84fb0b6fec6fb1d42d890645 1 parent 5316007
@danpoltawski danpoltawski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/db/upgrade.php
View
2  mod/quiz/db/upgrade.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.