diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index 2f067efeae2..a9888a59a24 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -1486,7 +1486,9 @@ else if ($id > 0 || ! empty($ref)) // Duration print ''; - $form->select_duration('duration',$objp->duree); + $selectmode='select'; + if (! empty($conf->global->INTERVENTION_ADDLINE_FREEDUREATION)) $selectmode='text'; + $form->select_duration('duration',$objp->duree, $selectmode); print ''; print '';