fixed typo

This commit is contained in:
Fabien Potencier
2010-06-28 12:12:31 +02:00
parent 8da3723a60
commit 178b38940b
+1 -1
View File
@@ -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);
}
/**