From 40989c2668401b19d0490519f2b2a74e5b1c0ed5 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Tue, 26 Jul 2011 02:44:27 +0000 Subject: [PATCH] Followup r93132, misplaced ) caused 'dirname() expects exactly 1 parameter, 3 given' error. --- includes/media/Bitmap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/media/Bitmap.php b/includes/media/Bitmap.php index 08d9eaf6b3..9380095bb3 100644 --- a/includes/media/Bitmap.php +++ b/includes/media/Bitmap.php @@ -157,7 +157,7 @@ class BitmapHandler extends ImageHandler { } # Try to make a target path for the thumbnail - if ( !wfMkdirParents( dirname( $dstPath, null, __METHOD__ ) ) ) { + if ( !wfMkdirParents( dirname( $dstPath ), null, __METHOD__ ) ) { wfDebug( __METHOD__ . ": Unable to create thumbnail destination directory, falling back to client scaling\n" ); return $this->getClientScalingThumbnailImage( $image, $scalerParams ); } -- 2.20.1