Fix travis
This commit is contained in:
parent
bc446999dd
commit
407febc141
@ -169,7 +169,7 @@ if ($action == 'addsite')
|
|||||||
{
|
{
|
||||||
$db->begin();
|
$db->begin();
|
||||||
|
|
||||||
if (! $error && empty(GETPOST('WEBSITE_REF','alpha')))
|
if (! $error && ! GETPOST('WEBSITE_REF','alpha'))
|
||||||
{
|
{
|
||||||
$error++;
|
$error++;
|
||||||
setEventMessages($langs->transnoentities("ErrorFieldRequired", $langs->transnoentities("Ref")), null, 'errors');
|
setEventMessages($langs->transnoentities("ErrorFieldRequired", $langs->transnoentities("Ref")), null, 'errors');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user