diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php
index e5c9dcb3127..1bf360dccf7 100644
--- a/htdocs/admin/dict.php
+++ b/htdocs/admin/dict.php
@@ -2510,11 +2510,11 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '')
print '';
} elseif ($value == 'block_if_negative') {
print '
';
- print $form->selectyesno("block_if_negative", (!empty($obj->{$value}) ? $obj->{$value}:''), 1);
+ print $form->selectyesno("block_if_negative", (empty($obj->block_if_negative) ? '' : $obj->block_if_negative), 1);
print ' | ';
} elseif ($value == 'type_duration') {
print '';
- print $form->selectTypeDuration('', (!empty($obj->{$value}) ? $obj->{$value}:''), array('i','h'));
+ print $form->selectTypeDuration('', empty($obj->type_duration) ? '' : $obj->type_duration), array('i','h'));
print ' | ';
} else {
$fieldValue = isset($obj->{$value}) ? $obj->{$value}: '';