Index: trunk/phase3/includes/media/Bitmap.php |
— | — | @@ -234,7 +234,7 @@ |
235 | 235 | } |
236 | 236 | |
237 | 237 | if ( $scaler != 'client' && $dstPath ) { |
238 | | - if ( !wfMkdirParents( dirname( $dstPath, null, __METHOD__ ) ) ) { |
| 238 | + if ( !wfMkdirParents( dirname( $dstPath ), null, __METHOD__ ) ) { |
239 | 239 | # Unable to create a path for the thumbnail |
240 | 240 | return 'client'; |
241 | 241 | } |