Skip to content

Commit

Permalink
Test: Fix Wrong Class Method
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Nov 12, 2024
1 parent 0723454 commit 651539e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/TestQuestionPool/classes/class.assSingleChoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function loadFromDb($question_id): void
$this->setQuestion(ilRTE::_replaceMediaObjectImageSrc($data["question_text"] ?? '', 1));
$shuffle = (is_null($data['shuffle'])) ? true : $data['shuffle'];
$this->setShuffle((bool) $shuffle);
if ($data['thumb_size'] !== null && $data['thumb_size'] >= $this->object->getMinimumThumbSize()) {
if ($data['thumb_size'] !== null && $data['thumb_size'] >= $this->getMinimumThumbSize()) {
$this->setThumbSize($data['thumb_size']);
}
$this->isSingleline = $data['allow_images'] === null || $data['allow_images'] === '0';
Expand Down

0 comments on commit 651539e

Please sign in to comment.