[FOLLOWUP][BUGFIX] Preview information should not conflict with frontend layout
[Packages/TYPO3.CMS.git] / typo3 / sysext / workspaces / Classes / Hook / TypoScriptFrontendControllerHook.php
index a60b743..4620bed 100644 (file)
@@ -96,7 +96,7 @@ class TypoScriptFrontendControllerHook
                 $styles[] = 'pointer-events:none';
                 $styles[] = 'text-align: center';
                 $styles[] = 'border-radius: 2px';
-                $content .= '<div id="typo3-preview-info" style="' . implode($styles, ';') . '">PREVIEW</div>';
+                $content .= '<div id="typo3-preview-info" style="' . implode(';', $styles) . '">PREVIEW</div>';
             }
         }
         return $content;