Fix: select_date accepts -1 or '' but not 0
This commit is contained in:
parent
a63d085181
commit
23e951ff2a
@ -1407,7 +1407,7 @@ if ($action == 'create')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$datepropal=empty($conf->global->MAIN_AUTOFILL_DATE)?-1:0;
|
$datepropal=empty($conf->global->MAIN_AUTOFILL_DATE)?-1:'';
|
||||||
$form->select_date($datepropal,'liv_','','','',"addprop");
|
$form->select_date($datepropal,'liv_','','','',"addprop");
|
||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user