Index: trunk/extensions/VipsScaler/SpecialVipsTest.php |
— | — | @@ -195,7 +195,8 @@ |
196 | 196 | return true; |
197 | 197 | } |
198 | 198 | public static function validateWidth( $input, $allData ) { |
199 | | - if ( self::validateFileInput( $allData['File'], $allData ) !== true ) { |
| 199 | + if ( self::validateFileInput( $allData['File'], $allData ) !== true |
| 200 | + || !trim( $allData['File'] ) ) { |
200 | 201 | # Invalid file, error will already be shown at file field |
201 | 202 | return true; |
202 | 203 | } |