projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fc77840
)
replaced zend_error_noreturn calls to zend_error as zend_error_noreturn is not export...
author
Fabien Potencier
<fabien.potencier@gmail.com>
Thu, 22 Dec 2011 13:17:52 +0000 (14:17 +0100)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Thu, 22 Dec 2011 13:17:59 +0000 (14:17 +0100)
ext/twig/twig.c
patch
|
blob
|
history
diff --git
a/ext/twig/twig.c
b/ext/twig/twig.c
index
267c013
..
e4e34c1
100644
(file)
--- a/
ext/twig/twig.c
+++ b/
ext/twig/twig.c
@@
-149,7
+149,7
@@
zval *TWIG_GET_ARRAYOBJECT_ELEMENT(zval *object, zval *offset TSRMLS_DC)
if (!retval) {
if (!EG(exception)) {
- zend_error_noreturn(E_ERROR, "Undefined offset for object of type %s used as array", ce->name);
+ zend_error(E_ERROR, "Undefined offset for object of type %s used as array", ce->name);
}
return NULL;
}
@@
-172,7
+172,7
@@
int TWIG_ISSET_ARRAYOBJECT_ELEMENT(zval *object, zval *offset TSRMLS_DC)
if (!retval) {
if (!EG(exception)) {
- zend_error_noreturn(E_ERROR, "Undefined offset for object of type %s used as array", ce->name);
+ zend_error(E_ERROR, "Undefined offset for object of type %s used as array", ce->name);
}
return 0;
}