Skip to content

Commit

Permalink
Merge branch 'igll-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasmullie committed Nov 26, 2018
2 parents f6b0e73 + 0716502 commit 97f118c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Minify.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ protected function replace($content)

// we can safely ignore patterns for positions we've unset earlier,
// because we know these won't show up anymore
if (!isset($positions[$i])) {
if (array_key_exists($i, $positions) == false) {
continue;
}

Expand Down

0 comments on commit 97f118c

Please sign in to comment.