Commit 0a211be7 authored by Christian Kuhn's avatar Christian Kuhn Committed by Georg Ringer
Browse files

[BUGFIX] Stop calling a non-static method statically

Resolves: #92344
Releases: master, 10.4
Change-Id: Ia34b93a6fefaee408da7b54965cf02e138cadf26
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65769

Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
parent c87ba861
......@@ -367,7 +367,7 @@ class InlineRecordContainer extends AbstractContainer
}
if ($fileObject && $fileObject->isMissing()) {
$thumbnail .= '<span class="label label-danger">'
. htmlspecialchars(static::getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:warning.file_missing'))
. htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:warning.file_missing'))
. '</span>&nbsp;' . htmlspecialchars($fileObject->getName()) . '<br />';
} elseif ($fileObject) {
$imageSetup = $inlineConfig['appearance']['headerThumbnail'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment