projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
078690b
)
Apparently this is needed for GCC to not optimise it out...
author
Derick Rethans
<github@derickrethans.nl>
Mon, 4 Jul 2011 17:02:17 +0000 (18:02 +0100)
committer
Derick Rethans
<github@derickrethans.nl>
Mon, 4 Jul 2011 17:02:17 +0000 (18:02 +0100)
twig.c
patch
|
blob
|
history
diff --git
a/twig.c
b/twig.c
index
74ed67e
..
d2cc1ea
100644
(file)
--- a/
twig.c
+++ b/
twig.c
@@
-524,7
+524,7
@@
PHP_FUNCTION(twig_template_get_attributes)
}
*/
- if (!Z_TYPE_P(object) == IS_OBJECT) {
+ if (Z_TYPE_P(object) != IS_OBJECT) {
if (isDefinedTest) {
RETURN_FALSE;
}