projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ceadaa6
)
Fixed : fatal error when using defined test on an invalid expression
author
Jerome Brissonnet
<jibriss@gmail.com>
Mon, 8 Apr 2013 20:43:53 +0000 (22:43 +0200)
committer
Jerome Brissonnet
<jibriss@gmail.com>
Mon, 8 Apr 2013 20:43:53 +0000 (22:43 +0200)
lib/Twig/Node/Expression/Test/Defined.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Node/Expression/Test/Defined.php
b/lib/Twig/Node/Expression/Test/Defined.php
index
85b07f5
..
247b2e2
100644
(file)
--- a/
lib/Twig/Node/Expression/Test/Defined.php
+++ b/
lib/Twig/Node/Expression/Test/Defined.php
@@
-34,7
+34,7
@@
class Twig_Node_Expression_Test_Defined extends Twig_Node_Expression_Test
$this->changeIgnoreStrictCheck($node);
} else {
- throw new Twig_Error_Syntax('The "defined" test only works with simple variables', $this->getLine(), $compiler->getFilename());
+ throw new Twig_Error_Syntax('The "defined" test only works with simple variables', $this->getLine());
}
}