diff --git a/htdocs/core/actions_printing.inc.php b/htdocs/core/actions_printing.inc.php index 030e7016a55..3744541dd0d 100644 --- a/htdocs/core/actions_printing.inc.php +++ b/htdocs/core/actions_printing.inc.php @@ -59,9 +59,9 @@ if ($action == 'print_file' and $user->rights->printing->read) } } } - if ($printed==0) setEventMessages($langs->trans("NoActivePrintingModuleFound"), null, 'warning'); + if ($printed==0) setEventMessages($langs->trans("NoActivePrintingModuleFound"), null, 'warnings'); } else { - setEventMessages($langs->trans("NoModuleFound"), null, 'warning'); + setEventMessages($langs->trans("NoModuleFound"), null, 'warnings'); } $action = ''; }