Update dict.php

This commit is contained in:
Laurent Destailleur 2023-01-11 20:40:15 +01:00 committed by GitHub
parent 4afc21ecb3
commit 71ea83d19e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2514,7 +2514,7 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '')
print '</td>';
} elseif ($value == 'type_duration') {
print '<td>';
print $form->selectTypeDuration('', empty($obj->type_duration) ? '' : $obj->type_duration), array('i','h'));
print $form->selectTypeDuration('', (empty($obj->type_duration) ? '' : $obj->type_duration), array('i','h'));
print '</td>';
} else {
$fieldValue = isset($obj->{$value}) ? $obj->{$value}: '';