From 7a9c654f835870e57064a4f0deb8ac4363c170bd Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 18 Sep 2005 17:32:52 +0000 Subject: [PATCH] - Derick changed the test but forgot to make the code use E_RECOVERABLE_ERROR --- ext/spl/spl_array.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index be51aa81c7a..952f5473466 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -475,7 +475,8 @@ void spl_array_iterator_append(zval *object, zval *append_value TSRMLS_DC) /* {{ } if (Z_TYPE_P(intern->array) == IS_OBJECT) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Cannot append properties to objects, use %v::offsetSet() instead", Z_OBJCE_P(object)->name); + php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Cannot append properties to objects, use %v::offsetSet() instead", Z_OBJCE_P(object)->name); + return; } spl_array_write_dimension(object, NULL, append_value TSRMLS_CC);