Fix travis

This commit is contained in:
Laurent Destailleur 2017-09-01 22:49:33 +02:00
parent bc446999dd
commit 407febc141

View File

@ -169,7 +169,7 @@ if ($action == 'addsite')
{
$db->begin();
if (! $error && empty(GETPOST('WEBSITE_REF','alpha')))
if (! $error && ! GETPOST('WEBSITE_REF','alpha'))
{
$error++;
setEventMessages($langs->transnoentities("ErrorFieldRequired", $langs->transnoentities("Ref")), null, 'errors');