Skip to content

Commit

Permalink
Make outcomeid public to avoid zero bytes in the serialization, which…
Browse files Browse the repository at this point in the history
… causes serialization failures with pgsql databases.
  • Loading branch information
trampgeek committed Dec 17, 2024
1 parent 8cd175c commit a75b098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/combinator_grader_outcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class qtype_coderunner_combinator_grader_outcome extends qtype_coderunner_testin
public $showdifferences;

/** @var ?int $outcomeid Random unique id for this testing outcome. */
private $outcomeid;
public $outcomeid;

// A list of the allowed attributes in the combinator template grader return value.
public $allowedfields = ['fraction', 'prologuehtml', 'testresults', 'files', 'epiloguehtml',
Expand Down

0 comments on commit a75b098

Please sign in to comment.