projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e9c329e
)
fixed typo
author
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 14 Dec 2010 07:18:33 +0000 (08:18 +0100)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 14 Dec 2010 07:18:33 +0000 (08:18 +0100)
lib/Twig/Environment.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Environment.php
b/lib/Twig/Environment.php
index
7c98404
..
b1686ac
100644
(file)
--- 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'];