diff --git a/question/type/ordering/question.php b/question/type/ordering/question.php index 1843beea3a4..ae049ff991a 100644 --- a/question/type/ordering/question.php +++ b/question/type/ordering/question.php @@ -651,6 +651,11 @@ class qtype_ordering_question extends question_graded_automatically { $prependsubset = true; $appendtosubset = true; break; + + default: // shouldn't happen !! + $tailsets = array(); + $prependsubset = false; + $appendtosubset = false; } // Append any $tailsets that were found. diff --git a/question/type/ordering/version.php b/question/type/ordering/version.php index 3658754ecad..ce83101c9db 100644 --- a/question/type/ordering/version.php +++ b/question/type/ordering/version.php @@ -29,5 +29,5 @@ $plugin->cron = 0; $plugin->component = 'qtype_ordering'; $plugin->maturity = MATURITY_STABLE; $plugin->requires = 2011070100; // Moodle 2.1. -$plugin->version = 2016050252; -$plugin->release = '2016-05-02 (52)'; +$plugin->version = 2016051153; +$plugin->release = '2016-05-11 (53)';