From: Marcus Boerger Date: Sun, 18 Sep 2005 17:32:52 +0000 (+0000) Subject: - Derick changed the test but forgot to make the code use E_RECOVERABLE_ERROR X-Git-Tag: RELEASE_0_9_0~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a9c654f835870e57064a4f0deb8ac4363c170bd;p=php - Derick changed the test but forgot to make the code use E_RECOVERABLE_ERROR --- diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index be51aa81c7..952f547346 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);