Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLukas Winkler <git@lw1.at>2021-06-18 02:36:20 +0300
committerGitHub <noreply@github.com>2021-06-18 02:36:20 +0300
commit1b409df3610fce9dff57a241e3531319b114edca (patch)
tree9761e453b9b8b2a8f40ed6ea0d1e8257bb7699fb /core
parentb59ff158066a657a7ed1e50b3afff6c3bfa3abba (diff)
don't pass null as a glob() flag (#17687)
Diffstat (limited to 'core')
-rw-r--r--core/Filesystem.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Filesystem.php b/core/Filesystem.php
index 8499ef56d7..43035781f8 100644
--- a/core/Filesystem.php
+++ b/core/Filesystem.php
@@ -41,7 +41,7 @@ class Filesystem
TrackerCache::deleteTrackerCache();
PiwikCache::flushAll();
self::clearPhpCaches();
-
+
$pluginManager = Plugin\Manager::getInstance();
$plugins = $pluginManager->getLoadedPlugins();
foreach ($plugins as $plugin) {
@@ -184,7 +184,7 @@ class Filesystem
* @return array The list of paths that match the pattern.
* @api
*/
- public static function globr($sDir, $sPattern, $nFlags = null)
+ public static function globr($sDir, $sPattern, $nFlags = 0)
{
if (($aFiles = \_glob("$sDir/$sPattern", $nFlags)) == false) {
$aFiles = array();