From 04e618aad7bfff5aa3fe6d55a2503cc57f45471c Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 25 Nov 2010 12:34:21 +0000 Subject: [PATCH] Fix r77261 by adding the parentheses already added in 1.16wmf4 in r77264 --- includes/media/Bitmap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/media/Bitmap.php b/includes/media/Bitmap.php index bb1bbbaf43..23803946ea 100644 --- a/includes/media/Bitmap.php +++ b/includes/media/Bitmap.php @@ -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"; -- 2.20.1