mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 16:22:20 +02:00
🐛 N°2072 Fix missing/empty error message when uploading too large attachment
This commit is contained in:
@@ -38,6 +38,7 @@ Dict::Add('EN US', 'English', 'English', array(
|
||||
'Portal:Button:Delete' => 'Delete',
|
||||
'Portal:EnvironmentBanner:Title' => 'You are currently in <strong>%1$s</strong> mode',
|
||||
'Portal:EnvironmentBanner:GoToProduction' => 'Go back to PRODUCTION mode',
|
||||
'Error:HTTP:400' => 'Bad request',
|
||||
'Error:HTTP:401' => 'Authentication',
|
||||
'Error:HTTP:404' => 'Page not found',
|
||||
'Error:HTTP:500' => 'Oops! An error has occured.',
|
||||
|
||||
@@ -36,6 +36,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Portal:Button:Delete' => 'Supprimer',
|
||||
'Portal:EnvironmentBanner:Title' => 'Vous êtes dans le mode <strong>%1$s</strong>',
|
||||
'Portal:EnvironmentBanner:GoToProduction' => 'Retourner au mode PRODUCTION',
|
||||
'Error:HTTP:400' => 'Requête incorrecte',
|
||||
'Error:HTTP:401' => 'Authentification',
|
||||
'Error:HTTP:404' => 'Page non trouvée',
|
||||
'Error:HTTP:500' => 'Oups ! Une erreur est survenue.',
|
||||
|
||||
@@ -1383,7 +1383,7 @@ class ObjectController extends AbstractController
|
||||
break;
|
||||
|
||||
default:
|
||||
$oApp->abort(403);
|
||||
$oApp->abort(403, Dict::S('Error:HTTP:400'));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user