From 976ce0a954c186bad0485811719a22199b20a666 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 4 Feb 2020 14:33:25 +0100 Subject: [PATCH] Fix scrutinizer --- htdocs/core/lib/functionsnumtoword.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;