We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a6c51e commit 19a3586Copy full SHA for 19a3586
webapp/src/Entity/Problem.php
@@ -435,7 +435,7 @@ public function getAttachments(): Collection
435
436
public function setProblemStatementContent(?ProblemStatementContent $content): self
437
{
438
- $this->problemStatementContent->clear();
+ $this->problemStatementContent = new ArrayCollection();
439
if ($content) {
440
$this->problemStatementContent->add($content);
441
$content->setProblem($this);
0 commit comments