From 416c97962b96573b8d061d6ae41d591b3d980006 Mon Sep 17 00:00:00 2001 From: Huji Date: Thu, 3 Jan 2008 19:34:58 +0000 Subject: [PATCH] It should use the new message. :o --- includes/SpecialImport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1