Fix scrutinizer
This commit is contained in:
parent
157745a1bb
commit
976ce0a954
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user