Skip to content

Commit

Permalink
Update question.php
Browse files Browse the repository at this point in the history
Define  field $optionsaftertext in question class for PHP 8.2 compatibility (and because it is logically required)
  • Loading branch information
marcusgreen authored Apr 20, 2024
1 parent 8055396 commit a37065d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions question.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ class qtype_gapfill_question extends question_graded_automatically_with_countbac
*/
public $answer;

/**
* Display draggables after the body of the question
* @var boolean
*/
public $optionsaftertext;

/**
* answerdisplay is a string of either gapfill,dropdown or drag drop
* @var string
Expand Down

0 comments on commit a37065d

Please sign in to comment.