diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php
index fbaf68a96d97e2ced9201be5a850e78e5554c4b7..2fbd3de6a0f0e51299a8c673e770e9e1489069e2 100644
--- a/htdocs/admin/barcode.php
+++ b/htdocs/admin/barcode.php
@@ -97,7 +97,7 @@ if ($action == 'setModuleOptions')
 
  	if (! $error)
     {
-        setEventMessages($langs->trans("SetupSaved"), null, 'msgs');
+        setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
     }
     else
     {