Skip to content
Snippets Groups Projects
Commit 23e951ff authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: select_date accepts -1 or '' but not 0

parent a63d0851
No related branches found
No related tags found
No related merge requests found
......@@ -1407,7 +1407,7 @@ if ($action == 'create')
}
else
{
$datepropal=empty($conf->global->MAIN_AUTOFILL_DATE)?-1:0;
$datepropal=empty($conf->global->MAIN_AUTOFILL_DATE)?-1:'';
$form->select_date($datepropal,'liv_','','','',"addprop");
}
print '</td></tr>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment