Skip to content

Commit

Permalink
fix PHP8 warning due to wrong initialization format (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
CPASimUSante authored Feb 23, 2024
1 parent 35c0bf7 commit 4564790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/question/numerical.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected function question_survey_display($response, $descendantsdata, $blankqu
// Numeric.
$questiontags = new \stdClass();
$precision = $this->precise;
$a = '';
$a = new \StdClass();
if (isset($response->answers[$this->id][0])) {
$mynumber = $response->answers[$this->id][0]->value;
if ($mynumber != '') {
Expand Down

0 comments on commit 4564790

Please sign in to comment.