From 639163165a3d1a99e7b7e0fc1fb72d19e444f4d1 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 14 Dec 2010 08:18:33 +0100 Subject: [PATCH] fixed typo --- lib/Twig/Environment.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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']; -- 1.7.2.5