projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2b58fec
)
Added missing header and switch arguments for the return around as I got that wrong.
author
Derick Rethans
<github@derickrethans.nl>
Thu, 30 Jun 2011 16:03:00 +0000 (17:03 +0100)
committer
Derick Rethans
<github@derickrethans.nl>
Thu, 30 Jun 2011 16:03:00 +0000 (17:03 +0100)
twig.c
patch
|
blob
|
history
diff --git
a/twig.c
b/twig.c
index
0cb55af
..
e1b98ef
100644
(file)
--- a/
twig.c
+++ b/
twig.c
@@
-26,6
+26,7
@@
#include "php_twig.h"
#include "ext/standard/php_smart_str.h"
+#include "Zend/zend_object_handlers.h"
#include "Zend/zend_interfaces.h"
ZEND_BEGIN_ARG_INFO_EX(twig_template_get_attribute_args, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 6)
@@
-694,6
+695,6
@@
PHP_FUNCTION(twig_template_get_attributes)
return $ret;
*/
if (ret) {
- RETVAL_ZVAL(ret, 0, 1);
+ RETVAL_ZVAL(ret, 1, 0);
}
}