From 15edb87b8025079a6757e3bf4104f53fa7b881a2 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Sun, 7 Aug 2022 18:23:52 -0400 Subject: [PATCH] frontEndPage --- CRM/Utils/System/DrupalBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/DrupalBase.php b/CRM/Utils/System/DrupalBase.php index b25d6fc823..df1d1fbcae 100644 --- a/CRM/Utils/System/DrupalBase.php +++ b/CRM/Utils/System/DrupalBase.php @@ -657,7 +657,7 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base { * @return bool */ public function isFrontEndPage() { - $path = CRM_Utils_System::currentPath(); + $path = CRM_Utils_System::currentPath() ?? ''; // Get the menu for above URL. $item = CRM_Core_Menu::get($path); -- 2.25.1