Explicitly provide a value for `$float` for the media BBCode
authorAlexander Ebert <ebert@woltlab.com>
Tue, 9 May 2023 13:13:27 +0000 (15:13 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 9 May 2023 13:13:27 +0000 (15:13 +0200)
Fixes #5486

wcfsetup/install/files/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php

index 83b8b890563f8c9c257115ab87a7429e2541f037..4fdb9e2bec5a5e562ea681580bd95d87819314d8 100644 (file)
@@ -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()),
                     ]);
                 }