projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e9c3eda
)
Added a return so that the function ends after throwing an exception. This fixes...
author
Derick Rethans
<github@derickrethans.nl>
Mon, 25 Jul 2011 15:24:38 +0000 (16:24 +0100)
committer
Derick Rethans
<github@derickrethans.nl>
Mon, 25 Jul 2011 15:24:38 +0000 (16:24 +0100)
twig.c
patch
|
blob
|
history
diff --git
a/twig.c
b/twig.c
index
f6f4e67
..
2b36948
100644
(file)
--- 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