Skip to content

Commit

Permalink
fix = 0 to =1
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Mette committed Apr 18, 2023
1 parent 91e393c commit 18e2d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/classes/SurveyQuestionConstantsum.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ protected function calculateCumulated(): void
if(array_key_exists($answervalue, $cumulated[$answerkey])) {
++$cumulated[$answerkey][$answervalue];
} else {
$cumulated[$answerkey][$answervalue] = 0;
$cumulated[$answerkey][$answervalue] = 1;
}
} else {
$cumulated[$answerkey] = [];
Expand Down

0 comments on commit 18e2d89

Please sign in to comment.