diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index faf26f7c111..372ddc9f677 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -4519,6 +4519,8 @@ class Form
{
global $langs,$conf,$mysoc;
+ $langs->load('errors');
+
$return='';
// Define defaultnpr, defaultttx and defaultcode