Skip to content
Snippets Groups Projects
Unverified Commit 446044fe authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #20485 from seamuslee001/fix_not_always_defined_constant

[php8-compat][REF] Fix php8 error on undefined constant CIVICRM_DISAB…
parents 606574d9 704cb100
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