From: fabien Date: Fri, 9 Oct 2009 13:43:29 +0000 (+0000) Subject: fixed typos X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=7cf36dc16807c27de250e80d9ad62473d3f20b88;p=konrad%2Ftwig.git fixed typos git-svn-id: http://svn.twig-project.org/trunk@9 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index c807a97..7ec8433 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -35,8 +35,8 @@ class Twig_Environment $this->debug = isset($options['debug']) ? (bool) $options['debug'] : false; $this->trimBlocks = isset($options['trim_blocks']) ? (bool) $options['trim_blocks'] : false; - $this->charset = isset($options['charset']) ? (bool) $options['charset'] : 'UTF-8'; - $this->baseTemplateClass = isset($options['base_template_class']) ? (bool) $options['base_template_class'] : 'Twig_Template'; + $this->charset = isset($options['charset']) ? $options['charset'] : 'UTF-8'; + $this->baseTemplateClass = isset($options['base_template_class']) ? $options['base_template_class'] : 'Twig_Template'; $this->extensions = array(new Twig_Extension_Core()); }