From: Alexander Ebert Date: Tue, 9 May 2023 13:13:27 +0000 (+0200) Subject: Explicitly provide a value for `$float` for the media BBCode X-Git-Tag: 6.0.0_Alpha_1~130 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ab2d6f92a6c3dbbb0edf3e999f97859f361898e;p=GitHub%2FWoltLab%2FWCF.git Explicitly provide a value for `$float` for the media BBCode Fixes #5486 --- diff --git a/wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php b/wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php index 83b8b89056..4fdb9e2bec 100644 --- a/wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php @@ -76,6 +76,7 @@ final class WoltLabSuiteMediaBBCode extends AbstractBBCode return WCF::getTPL()->fetch('mediaBBCodeTag', 'wcf', [ 'mediaLink' => $this->getLink($media), 'removeLinks' => $removeLinks, + 'float' => 'none', 'media' => $media->getLocalizedVersion(MessageEmbeddedObjectManager::getInstance()->getActiveMessageLanguageID()), ]); }