From 651a84c84e6fd2c75d3aef19b552698fece5ed62 Mon Sep 17 00:00:00 2001 From: Eric Stern Date: Wed, 20 Jan 2021 11:19:28 -0800 Subject: [PATCH] Reapply fix --- src/Iterator/GlobIterator.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Iterator/GlobIterator.php b/src/Iterator/GlobIterator.php index 43fd38f..2ef80f8 100644 --- a/src/Iterator/GlobIterator.php +++ b/src/Iterator/GlobIterator.php @@ -53,8 +53,7 @@ public function __construct($glob, $flags = 0) ('\\' !== DIRECTORY_SEPARATOR || false === strpos($glob, '[^')) ) { // GLOB_BRACE is not available in some environments. - // $results = glob($glob, defined('GLOB_BRACE') ? GLOB_BRACE : 0); - $results = glob($glob, GLOB_BRACE); + $results = glob($glob, defined('GLOB_BRACE') ? GLOB_BRACE : 0); // $results may be empty or false if $glob is invalid if (empty($results)) {