projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8da3723
)
fixed typo
author
Fabien Potencier
<fabien.potencier@gmail.com>
Mon, 28 Jun 2010 10:12:31 +0000 (12:12 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Mon, 28 Jun 2010 10:12:31 +0000 (12:12 +0200)
lib/Twig/Node.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Node.php
b/lib/Twig/Node.php
index
9aa4d34
..
58ce258
100644
(file)
--- 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);
}
/**