Skip to content

Commit

Permalink
fix typo: switch (HOTPOT_DISPLAYNEXT_QUIZ)
Browse files Browse the repository at this point in the history
should be: switch ($hotpot->displaynext)
  • Loading branch information
gbateson committed Mar 27, 2008
1 parent 37b267d commit f44721b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/hotpot/lib.php
Expand Up @@ -323,7 +323,7 @@ function hotpot_set_form_values(&$hotpot) {
}

if (isset($hotpot->displaynext)) {
switch (HOTPOT_DISPLAYNEXT_QUIZ) {
switch ($hotpot->displaynext) {
// N.B. redirection only works for Moodle 1.5+
case HOTPOT_DISPLAYNEXT_COURSE:
$hotpot->redirect = true;
Expand Down

0 comments on commit f44721b

Please sign in to comment.