Fix r77261 by adding the parentheses already added in 1.16wmf4 in r77264
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 25 Nov 2010 12:34:21 +0000 (12:34 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 25 Nov 2010 12:34:21 +0000 (12:34 +0000)
includes/media/Bitmap.php

index bb1bbba..2380394 100644 (file)
@@ -239,9 +239,9 @@ class BitmapHandler extends ImageHandler {
                        // a pixel.
                        " -thumbnail " . wfEscapeShellArg( "{$params['physicalDimensions']}!" ) .
                        // Add the source url as a comment to the thumb, but don't add the flag if there's no comment
-                       $params['comment'] !== ''
+                       $params['comment'] !== ''
                                ? " -set comment " . wfEscapeShellArg( $this->escapeMagickProperty( $params['comment'] ) )
-                               : '' .
+                               : '' .
                        " -depth 8 $sharpen" .
                        " {$animation_post} " .
                        wfEscapeShellArg( $this->escapeMagickOutput( $params['dstPath'] ) ) . " 2>&1";