Followup r93157, missing another one of the stray )'s.
authorDaniel Friesen <dantman@users.mediawiki.org>
Tue, 26 Jul 2011 03:36:27 +0000 (03:36 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Tue, 26 Jul 2011 03:36:27 +0000 (03:36 +0000)
includes/media/Bitmap.php

index 9380095..1759378 100644 (file)
@@ -234,7 +234,7 @@ class BitmapHandler extends ImageHandler {
                }
 
                if ( $scaler != 'client' && $dstPath ) {
-                       if ( !wfMkdirParents( dirname( $dstPath, null, __METHOD__ ) ) ) {
+                       if ( !wfMkdirParents( dirname( $dstPath ), null, __METHOD__ ) ) {
                                # Unable to create a path for the thumbnail
                                return 'client';
                        }