projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49290af
)
PHP8.1 - Fix deprecated passing null to glob
author
Coleman Watts
<coleman@civicrm.org>
Tue, 7 Jun 2022 18:56:08 +0000
(14:56 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 7 Jun 2022 18:56:08 +0000
(14:56 -0400)
CRM/Core/Resources.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Resources.php
b/CRM/Core/Resources.php
index 6945376e6120e76d07d63190ef7cbc3ca1b86ee1..bd54a0507ceb2d9c913ba7acb308a12f9b02e6a9 100644
(file)
--- 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 = [];