From f2aa5f4c7bbecd0dac2f7c2454b4e0921cee37ce Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Wed, 20 Feb 2019 12:01:41 -0500 Subject: [PATCH] Surveys: Fix count pages - refs BT#15281 --- main/survey/survey.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/survey/survey.lib.php b/main/survey/survey.lib.php index fc58ce34706..2e5d2a4f0b2 100755 --- a/main/survey/survey.lib.php +++ b/main/survey/survey.lib.php @@ -2265,7 +2265,7 @@ public static function getCountPages($survey) $count = $countOfQuestions; } } else { - $count = $numberPageBreaks * 2; + $count = $numberPageBreaks + 1; if (empty($numberPageBreaks)) { $count = 1; }