Skip to content

Commit

Permalink
fixes #2440
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Apr 11, 2019
1 parent 75650ce commit 09c1255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Assets/Traits/AssetUtilsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ protected function moveImports($file)
{
$imports = [];

$file = (string)preg_replace_callback(self::CSS_IMPORT_REGEX, function ($matches) {
$file = (string)preg_replace_callback(self::CSS_IMPORT_REGEX, function ($matches) use (&$imports) {
$imports[] = $matches[0];

return '';
Expand Down

0 comments on commit 09c1255

Please sign in to comment.