Index: trunk/phase3/includes/media/Bitmap.php |
— | — | @@ -239,9 +239,9 @@ |
240 | 240 | // a pixel. |
241 | 241 | " -thumbnail " . wfEscapeShellArg( "{$params['physicalDimensions']}!" ) . |
242 | 242 | // Add the source url as a comment to the thumb, but don't add the flag if there's no comment |
243 | | - $params['comment'] !== '' |
| 243 | + ( $params['comment'] !== '' |
244 | 244 | ? " -set comment " . wfEscapeShellArg( $this->escapeMagickProperty( $params['comment'] ) ) |
245 | | - : '' . |
| 245 | + : '' ) . |
246 | 246 | " -depth 8 $sharpen" . |
247 | 247 | " {$animation_post} " . |
248 | 248 | wfEscapeShellArg( $this->escapeMagickOutput( $params['dstPath'] ) ) . " 2>&1"; |