diff --git a/twig.c b/twig.c index 2b369488e..4c386583b 100644 --- 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')) {