From 7cf36dc16807c27de250e80d9ad62473d3f20b88 Mon Sep 17 00:00:00 2001 From: fabien Date: Fri, 9 Oct 2009 13:43:29 +0000 Subject: [PATCH] fixed typos git-svn-id: http://svn.twig-project.org/trunk@9 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- lib/Twig/Environment.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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()); } -- 1.7.2.5