From: colemanw Date: Fri, 21 Jul 2023 17:33:03 +0000 (-0400) Subject: Remove 'browse' link that shouldn't be there X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e76ce2e0abe83c7b640ce142eccc22d19d6c85d5;p=civicrm-core.git Remove 'browse' link that shouldn't be there --- 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) {