From 1955dfb0ac44460e7b68c36cebba08f86016fc0f Mon Sep 17 00:00:00 2001 From: Christoph Lehmann Date: Tue, 14 May 2024 14:17:04 +0200 Subject: [PATCH] [BUGFIX] 5th argument BU::wrapClickMenuOnIcon() must be an array (#2477) This was introduced 2 weeks ago in https://review.typo3.org/c/Packages/TYPO3.CMS/+/83900 It blocks applying the latest TYPO3 security update v12.4.15 --- Classes/Hooks/PluginPreviewRenderer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Classes/Hooks/PluginPreviewRenderer.php b/Classes/Hooks/PluginPreviewRenderer.php index 513b8bef30..09d5142089 100644 --- a/Classes/Hooks/PluginPreviewRenderer.php +++ b/Classes/Hooks/PluginPreviewRenderer.php @@ -221,8 +221,7 @@ public function getRecordData(int $id, string $table = 'pages'): string $table, $record['uid'], true, - '', - '+info,edit,history' + $record ); $linkTitle = htmlspecialchars(BackendUtilityCore::getRecordTitle($table, $record));