From 3bb822ec2f3d4b2f2abb4b047bac5c4d02c26a9a Mon Sep 17 00:00:00 2001 From: JEDIBC Date: Fri, 9 Dec 2011 10:08:13 +0100 Subject: [PATCH] . misspell function _twig_convert_encoding -> twig_convert_encoding --- lib/Twig/Extension/Core.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/Extension/Core.php b/lib/Twig/Extension/Core.php index 1dbf6be..325f56d 100644 --- a/lib/Twig/Extension/Core.php +++ b/lib/Twig/Extension/Core.php @@ -582,7 +582,7 @@ function _twig_escape_js_callback($matches) } // \uHHHH - $char = _twig_convert_encoding($char, 'UTF-16BE', 'UTF-8'); + $char = twig_convert_encoding($char, 'UTF-16BE', 'UTF-8'); return '\\u'.substr('0000'.bin2hex($char), -4); } -- 1.7.2.5