From: Huji Date: Thu, 3 Jan 2008 19:34:58 +0000 (+0000) Subject: It should use the new message. :o X-Git-Tag: 1.31.0-rc.0~50152 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=416c97962b96573b8d061d6ae41d591b3d980006;p=lhc%2Fweb%2Fwiklou.git It should use the new message. :o --- diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index 19df38f0d1..e7b88d587e 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -852,7 +852,7 @@ class ImportStreamSource { if( !empty( $upload['error'] ) ) { switch($upload['error']){ case 1: # The uploaded file exceeds the upload_max_filesize directive in php.ini. - return new WikiErrorMsg( 'importuploaderror' ); + return new WikiErrorMsg( 'importuploaderrorsize' ); case 2: # The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form. return new WikiErrorMsg( 'importuploaderrorsize' ); case 3: # The uploaded file was only partially uploaded