From 37b6b1f3d8836cc8a00604be27e2fd2683d9594d Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 30 Jun 2022 09:43:57 +1000 Subject: [PATCH] [REF][PHP8.1] Ensure that NULL is not passed to substr in CRM_Utils_File::addTrailingSlash --- CRM/Utils/System/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/Base.php b/CRM/Utils/System/Base.php index 336d07568a..d2e5fa93bb 100644 --- a/CRM/Utils/System/Base.php +++ b/CRM/Utils/System/Base.php @@ -729,7 +729,7 @@ abstract class CRM_Utils_System_Base { } } else { - $userFrameworkResourceURL = NULL; + $userFrameworkResourceURL = ''; } return [ -- 2.25.1