From: Fabien Potencier Date: Tue, 14 Dec 2010 07:18:33 +0000 (+0100) Subject: fixed typo X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=639163165a3d1a99e7b7e0fc1fb72d19e444f4d1;p=web%2Fkonrad%2Ftwig.git fixed typo --- diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index 7c98404..b1686ac 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -99,7 +99,7 @@ class Twig_Environment $this->autoReload = null === $options['auto_reload'] ? $this->debug : (bool) $options['auto_reload']; $this->extensions = array( 'core' => new Twig_Extension_Core(), - 'escaper' => new Twig_Extension_Escaper(array('autoescape' => (bool) $options['autoescape'])), + 'escaper' => new Twig_Extension_Escaper((bool) $options['autoescape']), 'optimizer' => new Twig_Extension_Optimizer(), ); $this->strictVariables = (bool) $options['strict_variables'];