Minor tweaks for E_STRICT error_reporting mode warnings:
authorNick Jenkins <nickj@users.mediawiki.org>
Thu, 3 May 2007 01:05:51 +0000 (01:05 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Thu, 3 May 2007 01:05:51 +0000 (01:05 +0000)
commit84c10464d1e365b709b252047d458ebab662d1ad
treea5a8277cec8c22c5a1c50a7d521ae31fcb2c972e
parentce61cfc101e52509c8a5edaf207abd49b5e283c3
Minor tweaks for E_STRICT error_reporting mode warnings:
Undefined index:  width in includes/media/Generic.php on line 185
Undefined index:  width in includes/MediaTransformOutput.php on line 161
Undefined index:  height in includes/MediaTransformOutput.php on line 161
on this test:
curl --silent --include --globoff  -F 'f'='small-email.png'  -F 'r'='0'  'http://localhost/wiki/thumb.php'
(Using 180 as the fallback width in Generic.php, but if that's not a reasonable default please change).
includes/MediaTransformOutput.php
includes/media/Generic.php