diff --git a/htdocs/core/lib/functionsnumtoword.lib.php b/htdocs/core/lib/functionsnumtoword.lib.php index 1e8b3ba264e..94479fe2c28 100644 --- a/htdocs/core/lib/functionsnumtoword.lib.php +++ b/htdocs/core/lib/functionsnumtoword.lib.php @@ -47,7 +47,7 @@ function dol_convertToWord($num, $langs, $currency = false, $centimes = false) } if (! empty($conf->global->MAIN_MODULE_NUMBERWORDS)) { - if ($currency == true) { + if ($currency) { $type = 1; } else { $type = 0;