From 6a9853dc846e7561591f62b47a0e9a41b80c81c2 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 7 Jun 2022 14:56:08 -0400 Subject: [PATCH] PHP8.1 - Fix deprecated passing null to glob --- CRM/Core/Resources.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Resources.php b/CRM/Core/Resources.php index 6945376e61..bd54a0507c 100644 --- a/CRM/Core/Resources.php +++ b/CRM/Core/Resources.php @@ -307,7 +307,7 @@ class CRM_Core_Resources implements CRM_Core_Resources_CollectionAdderInterface * List of matching files, relative to the extension base dir. * @see glob() */ - public function glob($ext, $patterns, $flags = NULL) { + public function glob($ext, $patterns, $flags = 0) { $path = $this->getPath($ext); $patterns = (array) $patterns; $files = []; -- 2.25.1