diff --git a/twig.c b/twig.c index f6f4e673c..2b369488e 100644 --- a/twig.c +++ b/twig.c @@ -774,6 +774,7 @@ PHP_FUNCTION(twig_template_get_attributes) RETURN_FALSE; } TWIG_THROW_EXCEPTION("Twig_Error_Runtime", "Item \"%s\" for \"%s\" does not exist", item, object); + return; } /* // get some information about the object