Skip to content

Commit

Permalink
Use right variable for MD5 hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Skirenko committed Aug 23, 2016
1 parent 35dab8b commit 5950b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/content.precompile_assets_ajax.php
Expand Up @@ -64,7 +64,7 @@ public function build(array $context = array())
if (!file_exists($source_file_abs)) continue;
$output = Pipeline::$processCode($source_file_abs);
Pipeline::deleteCompiledFile($file); // Delete previous compilation, if any
$md5 = md5($content);
$md5 = md5($output);
$output_file = Pipeline::filenameInsertMD5(
Pipeline::replaceExtension($file, $type), $md5
);
Expand Down

0 comments on commit 5950b52

Please sign in to comment.