Skip to content

Commit

Permalink
43487: Failed test: Neues Medienobjekt anlegen
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Jan 17, 2025
1 parent 5deab4b commit 7cea3db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/ILIAS/MediaObjects/classes/class.ilMediaItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -613,8 +613,7 @@ public function setHeight(string $a_height): void
public function getOriginalSize(): ?array
{
if (ilUtil::deducibleSize($this->getFormat())) {
$loc = $this->getOriginalSize();

$loc = $this->getOriginalSource();
$size = ilMediaImageUtil::getImageSize($loc);
if ($size[0] > 0 && $size[1] > 0) {
return array("width" => $size[0], "height" => $size[1]);
Expand Down

0 comments on commit 7cea3db

Please sign in to comment.