From f08870d91ef4fcd8f067323674d414c91d9907ed Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 30 Nov 2022 16:51:07 +0100 Subject: [PATCH] Fix label of some fields in dictionaries --- htdocs/admin/dict.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index 3dec2565701..ed5e4c06b3d 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -1965,7 +1965,7 @@ if ($id > 0) { $valuetoshow = ($key != "Country".strtoupper($obj->country_code) ? $obj->country_code." - ".$key : $obj->country); } } elseif ($value == 'recuperableonly' || $value == 'deductible' || $value == 'category_type') { - $valuetoshow = yn($valuetoshow); + $valuetoshow = yn($valuetoshow ? 1 : 0); $class = "center"; } elseif ($value == 'type_cdr') { if (empty($valuetoshow)) {