Skip to content

Commit

Permalink
Fix for ticket #1681 (and maybe #1625). Change the parameter from -v …
Browse files Browse the repository at this point in the history
…to -version.
  • Loading branch information
Tim Almdal committed Apr 23, 2011
1 parent 09030d5 commit 0235c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gallery/helpers/graphics.php
Expand Up @@ -316,7 +316,7 @@ static function detect_toolkits() {
// ImageMagick & GraphicsMagick
$magick_kits = array(
"imagemagick" => array(
"name" => "ImageMagick", "binary" => "convert", "version" => "convert -v",
"name" => "ImageMagick", "binary" => "convert", "version" => "convert -version",
"version_regex" => "/Version: \S+ (\S+)/"),
"graphicsmagick" => array(
"name" => "GraphicsMagick", "binary" => "gm", "version" => "gm version",
Expand Down

0 comments on commit 0235c20

Please sign in to comment.