From 35e723ff00bf9567f1d85b3750d3407ec108833d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20R=C5=BCanek?= Date: Wed, 12 Feb 2014 14:21:16 +0100 Subject: [PATCH] Small fix to format only the HTML value, not overall value --- classes/filters/numberFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/filters/numberFilter.php b/classes/filters/numberFilter.php index 06b96ebd..ec3e4e18 100644 --- a/classes/filters/numberFilter.php +++ b/classes/filters/numberFilter.php @@ -12,7 +12,7 @@ public static function filter($value, $options = array(), &$report, &$row) { $dec_sepr = $options['decimal_sep'] ? $options['decimal_sep'] : ','; $thousand = $options['thousands_sep'] ? $options['thousands_sep'] : ' '; if (is_numeric($value->getValue())) { - $value->setValue(number_format($value->getValue(), $decimals, $dec_sepr, $thousand)); + $value->setValue(number_format($value->getValue(), $decimals, $dec_sepr, $thousand), true); } return $value;