Corrected Function call

- setAttribute() expects the second parameter to be an int or float. setTextAttribute() resolves this.
- Added TODO
This commit is contained in:
objecttothis
2023-12-05 14:03:07 +04:00
committed by jekkos
parent 2245aacf81
commit 4a23adbb2f
2 changed files with 3 additions and 3 deletions

View File

@@ -467,7 +467,7 @@ class Config extends Secure_Controller
if($this->request->getPost('thousands_separator') == 'false')
{
$fmt->setAttribute(NumberFormatter::GROUPING_SEPARATOR_SYMBOL, '');
$fmt->setTextAttribute(NumberFormatter::GROUPING_SEPARATOR_SYMBOL, '');
}
$fmt->setSymbol(NumberFormatter::CURRENCY_SYMBOL, $currency_symbol);