Fix: Removed deprecated test
This commit is contained in:
parent
bc7621b92e
commit
e1fc9bee6b
@ -203,12 +203,6 @@ if ($action == 'add_action')
|
|||||||
$action = 'create';
|
$action = 'create';
|
||||||
$mesg='<div class="error">'.$langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("DateEnd")).'</div>';
|
$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'))
|
if (! GETPOST('apyear') && ! GETPOST('adyear'))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user