From: Fabien Potencier Date: Mon, 28 Jun 2010 10:12:31 +0000 (+0200) Subject: fixed typo X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=178b38940b6bc08adafaaa887723a47549e9d64a;p=konrad%2Ftwig.git fixed typo --- diff --git a/lib/Twig/Node.php b/lib/Twig/Node.php index 9aa4d34..58ce258 100644 --- a/lib/Twig/Node.php +++ b/lib/Twig/Node.php @@ -130,7 +130,7 @@ class Twig_Node implements Twig_NodeInterface, ArrayAccess, Countable, IteratorA */ public function offsetExists($name) { - return $this->attributes[$name]; + return array_key_exists($name, $this->attributes); } /**