Skip to content

Commit

Permalink
FIX #4141
Browse files Browse the repository at this point in the history
  • Loading branch information
aschio committed Jun 3, 2016
1 parent deb7c40 commit 6c126da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/fichinter/card.php
Expand Up @@ -494,7 +494,7 @@

$desc=GETPOST('np_desc');
$date_intervention = dol_mktime(GETPOST('dihour','int'), GETPOST('dimin','int'), 0, GETPOST('dimonth','int'), GETPOST('diday','int'), GETPOST('diyear','int'));
$duration = empty($conf->global->FICHINTER_WITHOUT_DURATION)?0:convertTime2Seconds(GETPOST('durationhour','int'), GETPOST('durationmin','int'));
$duration = empty($conf->global->FICHINTER_WITHOUT_DURATION)?convertTime2Seconds(GETPOST('durationhour','int'), GETPOST('durationmin','int')) : 0;


// Extrafields
Expand Down Expand Up @@ -1558,7 +1558,7 @@
$selectmode = 'select';
if (!empty($conf->global->INTERVENTION_ADDLINE_FREEDUREATION))
$selectmode = 'text';
$form->select_duration('duration', $objp->duree, $selectmode);
$form->select_duration('duration', $objp->duree, 0, $selectmode);
}
print '</td>';

Expand Down

0 comments on commit 6c126da

Please sign in to comment.