Fix strange bug in ImageMagick call: if $params['comment'] was set to '' (which is...
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 24 Nov 2010 22:50:46 +0000 (22:50 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 24 Nov 2010 22:50:46 +0000 (22:50 +0000)
commitf73704c36b101b66844dea6ff1d224318436d330
tree4f18ef54e25b1452ac51c8e3dd330777c689a763
parent07184fa50201fdd2287c7214a62f07d5a3b1860e
Fix strange bug in ImageMagick call: if $params['comment'] was set to '' (which is explicitly done by the code in certain cases), the command line will contain -set comment -depth 8, causing the comment to be set to '-depth' and the file '8' to be read. Fix this by not adding the -set comment part at all if the comment is empty
includes/media/Bitmap.php