Merge remote-tracking branch 'origin/support/3.0' into support/3.1

This commit is contained in:
Anne-Cath
2024-01-15 16:34:01 +01:00

View File

@@ -3709,7 +3709,7 @@ HTML;
if ($oAttDef->GetEditClass() == 'Document') {
/** @var \ormDocument $oDocument */
$oDocument = $this->Get($sAttCode);
if (is_object($oDocument) && !$oDocument->IsEmpty())
if (is_object($oDocument) && !$oDocument->IsEmpty()) {
$sFieldAsHtml = $this->GetAsHTML($sAttCode);
$sDisplayLabel = Dict::S('UI:OpenDocumentInNewWindow_');