Skip to content

Commit

Permalink
Merge pull request #5 from indigoxela/1.x-1.x
Browse files Browse the repository at this point in the history
Issue #1: Error when creating an image style
  • Loading branch information
jenlampton committed Jun 1, 2021
2 parents 032fc6a + 615f459 commit efa395e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagemagick_advanced/imagemagick_advanced.module
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function imagemagick_advanced_imagemagick_arguments_alter(&$args, $context) {
$args['density'] = "-density {$density} -units PixelsPerInch";
}
// Apply color profile.
if ($profile = conig_get('imagemagick_advanced.settings','imagemagick_advanced_profile')) {
if ($profile = config_get('imagemagick_advanced.settings','imagemagick_advanced_profile')) {
if (file_exists($profile)) {
$args['profile'] = '-profile ' . escapeshellarg($profile);
}
Expand Down

0 comments on commit efa395e

Please sign in to comment.