From aaa91062478ee06f3bad7c6b8813256ad4d2afbc Mon Sep 17 00:00:00 2001 From: SinergiaCRM Date: Mon, 7 Oct 2024 13:48:55 +0000 Subject: [PATCH] Fix #10543 - Remove Security Groups button on subpanelsbased on EditView --- .../generic/SugarWidgets/SugarWidgetSubPanelRemoveButton.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButton.php b/include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButton.php index 862134ffcfe..3af83bd0d29 100755 --- a/include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButton.php +++ b/include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButton.php @@ -115,8 +115,7 @@ public function displayList(&$layout_def) $hideremove = true; } - //based on listview since that lets you select records - if ($layout_def['ListView'] && !$hideremove) { + if ($layout_def['EditView'] && !$hideremove) { $retStr = "