2
0
forked from Wavyzz/dolibarr

Fix regression in edition of date

This commit is contained in:
Laurent Destailleur
2018-09-17 09:17:11 +02:00
parent 797de131a6
commit 0bf540b3c1
3 changed files with 4 additions and 5 deletions

View File

@@ -5365,7 +5365,7 @@ abstract class CommonObject
if (!$required && $value == '') $value = '-1';
// TODO Must also support $moreparam
$out = $form->selectDate($value, $keyprefix.$key.$keysuffix, $showtime, $showtime, $required, '', 1, (($keyprefix != 'search_' && $keyprefix != 'search_options_') ? 1 : 0), 1, 0);
$out = $form->selectDate($value, $keyprefix.$key.$keysuffix, $showtime, $showtime, $required, '', 1, (($keyprefix != 'search_' && $keyprefix != 'search_options_') ? 1 : 0), 0, 1);
}
elseif (in_array($type,array('int','integer')))
{