[BUGFIX] number_format() expects parameter 1 to be double 78/22978/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 8 Aug 2013 20:49:17 +0000 (22:49 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 8 Aug 2013 20:56:19 +0000 (22:56 +0200)
commit380fb859a75aa8d5c14e20c85189e98f333291ae
tree1b01e5ba881a6b54689c2a1c2f32cd49febd2a7e
parent5d0ba16da2c1adaa1745cb53d990660dbfa9713e
[BUGFIX] number_format() expects parameter 1 to be double

In stdWrap function numberFormat $content is a string.
Make sure this is a float value when it is passed into
PHP function number_format.

Change-Id: If4a98ae8238264f94f771c997fbe6cac98311912
Resolves: #50868
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/22977
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-on: https://review.typo3.org/22978
tests/typo3/sysext/cms/tslib/tslib_contentTest.php
typo3/sysext/cms/tslib/class.tslib_content.php