Sigh, stupid copy and paste error prevented the last tests from passing. All is well...
authorDerick Rethans <github@derickrethans.nl>
Mon, 25 Jul 2011 15:34:13 +0000 (16:34 +0100)
committerDerick Rethans <github@derickrethans.nl>
Mon, 25 Jul 2011 15:34:13 +0000 (16:34 +0100)
twig.c

diff --git a/twig.c b/twig.c
index 2b36948..4c38658 100644 (file)
--- a/twig.c
+++ b/twig.c
@@ -919,7 +919,7 @@ PHP_FUNCTION(twig_template_get_attributes)
                        efree(tmp_method_name_get);
                        efree(tmp_method_name_is);
                        efree(lcItem);
-                       RETURN_FALSE;
+                       RETURN_TRUE;
                }
 /*
        if ($this->env->hasExtension('sandbox')) {