Bad parameter when calling setEventMessage function
This commit is contained in:
parent
013eac1147
commit
ed2b359dae
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user