X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=thumb.php;h=b973cc654bb72207c4466f2d1624f0ede0ba8f62;hb=66f4b07051a3356e7b6b813a304dab607f9b7b7c;hp=bb37e6e7a2f0e676209fbf57d184bfec53927830;hpb=2ba56500957eeb0f5f942cde6f49ed4e1ed27482;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index bb37e6e7a2..b973cc654b 100644 --- a/thumb.php +++ b/thumb.php @@ -55,7 +55,7 @@ function wfThumbMain() { wfThumbError( 404, wfMsg( 'badtitletext' ) ); return; } - $title = Title::makeTitleSafe( NS_IMAGE, $bits[1] ); + $title = Title::makeTitleSafe( NS_FILE, $bits[1] ); if( is_null($title) ) { wfThumbError( 404, wfMsg( 'badtitletext' ) ); return;