Bad parameter when calling setEventMessage function

This commit is contained in:
jfefe 2013-03-28 06:48:21 +01:00
parent 013eac1147
commit ed2b359dae

View File

@ -92,7 +92,7 @@ if ($action == 'add')
{
$error++;
$mesg=$extrafields->error;
setEventMessage($mesg,'error');
setEventMessage($mesg,'errors');
}
}
else
@ -100,7 +100,7 @@ if ($action == 'add')
$error++;
$langs->load("errors");
$mesg=$langs->trans("ErrorFieldCanNotContainSpecialCharacters",$langs->transnoentities("AttributeCode"));
setEventMessage($mesg,'error');
setEventMessage($mesg,'errors');
$action = 'create';
}
}