Skip to content

Commit

Permalink
Circumvent number on string error, resolves #538.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Apr 4, 2024
1 parent b06947c commit b189e09
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 = new \StdClass();
$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 b189e09

Please sign in to comment.