Fix: Removed deprecated test

This commit is contained in:
Laurent Destailleur 2014-05-30 13:41:58 +02:00
parent bc7621b92e
commit e1fc9bee6b

View File

@ -203,12 +203,6 @@ if ($action == 'add_action')
$action = 'create';
$mesg='<div class="error">'.$langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("DateEnd")).'</div>';
}
if (! empty($datep) && GETPOST('percentage') == 0)
{
$error++;
$action = 'create';
$mesg='<div class="error">'.$langs->trans("ErrorStatusCantBeZeroIfStarted").'</div>';
}
if (! GETPOST('apyear') && ! GETPOST('adyear'))
{