Skip to content

Commit

Permalink
[php8-compat][REF] Fix php8 error on undefined constant CIVICRM_DISAB…
Browse files Browse the repository at this point in the history
…LE_DEFAULT_MENU
  • Loading branch information
seamuslee001 committed Jun 2, 2021
1 parent 42dfe62 commit 704cb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/Resources/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ protected static function coreResourceList($region) {
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';
Expand Down

0 comments on commit 704cb10

Please sign in to comment.