From e76ce2e0abe83c7b640ce142eccc22d19d6c85d5 Mon Sep 17 00:00:00 2001 From: colemanw Date: Fri, 21 Jul 2023 13:33:03 -0400 Subject: [PATCH] Remove 'browse' link that shouldn't be there --- CRM/Core/Page/Basic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Page/Basic.php b/CRM/Core/Page/Basic.php index 366f16e332..93a6294074 100644 --- a/CRM/Core/Page/Basic.php +++ b/CRM/Core/Page/Basic.php @@ -39,7 +39,7 @@ abstract class CRM_Core_Page_Basic extends CRM_Core_Page { Civi::$statics[$baoName]['actionLinks'] = []; $title = $baoName::getEntityTitle(); $paths = $baoName::getEntityPaths(); - unset($paths['add']); + unset($paths['add'], $paths['browse']); foreach ($paths as $action => $path) { $actionKey = CRM_Core_Action::map($action); if ($actionKey) { -- 2.25.1