Fix php 8 warning
This commit is contained in:
parent
313adba8f4
commit
7bcaae86f4
@ -2514,7 +2514,7 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '')
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
} elseif ($value == 'type_duration') {
|
} elseif ($value == 'type_duration') {
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print $form->selectTypeDuration('', $obj->{$value}, array('i','h'));
|
print $form->selectTypeDuration('', (!empty($obj->{$value}) ? $obj->{$value}:''), array('i','h'));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
} else {
|
} else {
|
||||||
$fieldValue = isset($obj->{$value}) ? $obj->{$value}: '';
|
$fieldValue = isset($obj->{$value}) ? $obj->{$value}: '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user