From: Daniel Friesen Date: Tue, 26 Jul 2011 02:44:27 +0000 (+0000) Subject: Followup r93132, misplaced ) caused 'dirname() expects exactly 1 parameter, 3 given... X-Git-Tag: 1.31.0-rc.0~28619 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=40989c2668401b19d0490519f2b2a74e5b1c0ed5;p=lhc%2Fweb%2Fwiklou.git Followup r93132, misplaced ) caused 'dirname() expects exactly 1 parameter, 3 given' error. --- 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 ); }