Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrevin committed Jun 10, 2015
1 parent 0048c98 commit 34e5906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion View.php
Expand Up @@ -157,7 +157,7 @@ protected function minifyCSS()
$path = dirname($file);
$result = [];
foreach ($m[0] as $k => $v) {
if (1 === strpos($m[1][$k], 'data:')) {
if (in_array(strpos($m[1][$k], 'data:'), [0, 1], true)) {
continue;
}
$url = str_replace(['\'', '"'], '', $m[1][$k]);
Expand Down

0 comments on commit 34e5906

Please sign in to comment.