From de494b2904bcfecdbaa10bc40c8e44df513c2411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= Date: Sat, 18 Apr 2015 11:25:15 +0200 Subject: [PATCH] Fix Bug #2579: Bad display duration enter data on intervention --- htdocs/fichinter/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index ed4ceeb1cf1..f5fcd076709 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -1550,7 +1550,7 @@ else if ($id > 0 || ! empty($ref)) print ''; $selectmode='select'; if (! empty($conf->global->INTERVENTION_ADDLINE_FREEDUREATION)) $selectmode='text'; - $form->select_duration('duration', (!GETPOST('durationhour','int') && !GETPOST('durationmin','int'))?3600:(60*60*GETPOST('durationhour','int')+60*GETPOST('durationmin','int')), 0, $selectmode, 1); + $form->select_duration('duration', (!GETPOST('durationhour','int') && !GETPOST('durationmin','int'))?3600:(60*60*GETPOST('durationhour','int')+60*GETPOST('durationmin','int')), 0, $selectmode); print ''; print '';