From 1624d3198299ce33e2f07ed0cbb048354ef3f168 Mon Sep 17 00:00:00 2001 From: Alex Rock Ancelet Date: Wed, 18 Sep 2024 09:24:52 +0200 Subject: [PATCH] Fix invalid check in DbUtils --- src/DbUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DbUtils.php b/src/DbUtils.php index 2eb2d788050..693d4430e8e 100644 --- a/src/DbUtils.php +++ b/src/DbUtils.php @@ -1392,7 +1392,7 @@ public function getTreeValueCompleteName($table, $ID, $withcomment = false, $tra } $acomment .= $country; } - if (trim($acomment != '')) { + if (trim($acomment) != '') { $comment .= " " . __('Address:') . " " . $acomment . "
"; } }