Skip to content

Commit

Permalink
fix setEventMessages error insteads of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-florian committed Apr 13, 2017
1 parent a6b05bb commit 196156a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/bank/card.php
Expand Up @@ -117,7 +117,7 @@

if ($conf->global->MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED && empty($object->account_number))
{
setEventMessages($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("AccountancyCode")), null, 'error');
setEventMessages($langs->transnoentitiesnoconv("ErrorFieldRequired",$langs->transnoentitiesnoconv("AccountancyCode")), null, 'errors');
$action='create'; // Force chargement page en mode creation
$error++;
}
Expand Down

0 comments on commit 196156a

Please sign in to comment.