mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 02:46:29 +00:00
Update Compiler.php
This commit is contained in:
@@ -169,7 +169,7 @@ class Twig_Compiler implements Twig_CompilerInterface
|
|||||||
public function repr($value)
|
public function repr($value)
|
||||||
{
|
{
|
||||||
if (is_int($value) || is_float($value)) {
|
if (is_int($value) || is_float($value)) {
|
||||||
if (false !== $locale = setlocale(LC_NUMERIC, 0)) {
|
if (false !== $locale = setlocale(LC_NUMERIC, '0')) {
|
||||||
setlocale(LC_NUMERIC, 'C');
|
setlocale(LC_NUMERIC, 'C');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user