Skip to content

Commit

Permalink
Merge pull request #454 from chriscct7/patch-1
Browse files Browse the repository at this point in the history
Solves undefined function bug when calling taskImageMinify
  • Loading branch information
greg-1-anderson committed Sep 28, 2016
2 parents 11330bc + 3d89720 commit 6fb67ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Task/Assets/ImageMinify.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ protected function minify($files)
}

// Convert minifier name to camelCase (e.g. jpeg-recompress)
$funcMinifier = camelCase($minifier);
$funcMinifier = $this->camelCase($minifier);

// call the minifier method which prepares the command
if (is_callable($funcMinifier)) {
Expand Down

0 comments on commit 6fb67ed

Please sign in to comment.