From: Coleman Watts Date: Tue, 7 Jun 2022 18:56:08 +0000 (-0400) Subject: PHP8.1 - Fix deprecated passing null to glob X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6a9853dc846e7561591f62b47a0e9a41b80c81c2;p=civicrm-core.git PHP8.1 - Fix deprecated passing null to glob --- 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 = [];