Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-27483_20' of git://github.com/timhunt/moodle into M…

…OODLE_20_STABLE
  • Loading branch information...
commit 15ffa46a1af64e96440497d7549bac044907c9cc 2 parents 38bc3c2 + 25a5bd9
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/locallib.php
View
2  mod/quiz/locallib.php
@@ -324,7 +324,7 @@ function quiz_repaginate($layout, $perpage, $shuffle = false) {
$layout = str_replace(',0', '', $layout); // remove existing page breaks
$questions = explode(',', $layout);
//remove empty pages from beginning
- while (reset($questions) == '0') {
+ while (reset($questions) === '0') {
array_shift($questions);
}
if ($shuffle) {
Please sign in to comment.
Something went wrong with that request. Please try again.