Skip to content

Commit

Permalink
Fixed passing of flags
Browse files Browse the repository at this point in the history
  • Loading branch information
webmozart committed Dec 23, 2015
1 parent ee2e309 commit 319f802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Iterator/GlobIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class GlobIterator extends IteratorIterator
*/
public function __construct($glob, $flags = 0)
{
$basePath = Glob::getBasePath($glob);
$basePath = Glob::getBasePath($glob, $flags);

if (!Glob::isDynamic($glob) && file_exists($glob)) {
// If the glob is a file path, return that path
Expand Down

0 comments on commit 319f802

Please sign in to comment.