From f7e8bd31f5fd6597235c37ac4a52e498d493b722 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Thu, 26 Jan 2023 17:49:04 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B05905=20-=20Fix=20"+"=20button=20displaye?= =?UTF-8?q?d=20twice=20on=20linksets=20with=201=20item?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/displayblock.class.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/application/displayblock.class.inc.php b/application/displayblock.class.inc.php index 19456d96c..5947ce253 100644 --- a/application/displayblock.class.inc.php +++ b/application/displayblock.class.inc.php @@ -1877,9 +1877,6 @@ class MenuBlock extends DisplayBlock 'url' => "{$sRootUrl}pages/$sUIPage?route=object.modify&class=$sClass&id=$id{$sContext}#", ) + $aActionParams; } - if ($bIsCreationAllowed) { - $this->AddNewObjectMenuAction($aRegularActions, $sClass, $sDefaultValuesAsUrlParams); - } if ($bIsDeleteAllowed) { $aRegularActions['UI:Menu:Delete'] = array( 'label' => Dict::S('UI:Menu:Delete'),