fixed typos
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Fri, 9 Oct 2009 13:43:29 +0000 (13:43 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Fri, 9 Oct 2009 13:43:29 +0000 (13:43 +0000)
git-svn-id: http://svn.twig-project.org/trunk@9 93ef8e89-cb99-4229-a87c-7fa0fa45744b

lib/Twig/Environment.php

index c807a97..7ec8433 100644 (file)
@@ -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());
   }