Skip to content

Commit

Permalink
Surveys: Fix count pages - refs BT#15281
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Feb 20, 2019
1 parent 9e25823 commit f2aa5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/survey/survey.lib.php
Expand Up @@ -2265,7 +2265,7 @@ public static function getCountPages($survey)
$count = $countOfQuestions;
}
} else {
$count = $numberPageBreaks * 2;
$count = $numberPageBreaks + 1;
if (empty($numberPageBreaks)) {
$count = 1;
}
Expand Down

0 comments on commit f2aa5f4

Please sign in to comment.