Skip to content
Snippets Groups Projects
Commit 704cb100 authored by Seamus Lee's avatar Seamus Lee
Browse files

[php8-compat][REF] Fix php8 error on undefined constant CIVICRM_DISABLE_DEFAULT_MENU

parent 42dfe62f
Branches
Tags
No related merge requests found
......@@ -241,7 +241,7 @@ class CRM_Core_Resources_Common {
if (
$contactID && !CRM_Core_Config::singleton()->userFrameworkFrontend
&& CRM_Core_Permission::check('access CiviCRM')
&& !@constant('CIVICRM_DISABLE_DEFAULT_MENU')
&& !CRM_Utils_Constant::value('CIVICRM_DISABLE_DEFAULT_MENU')
&& !CRM_Core_Config::isUpgradeMode()
) {
$position = $settings->get('menubar_position') ?: 'over-cms-menu';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment