From a400d8908d98613e1cf702958cb3eaa21f39c529 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 30 May 2006 02:40:33 +0000 Subject: [PATCH] Convert E_ERROR to E_RECOVERABLE_ERROR --- ext/wddx/wddx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c index 410f8378d8..02f6b85c68 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -657,7 +657,7 @@ void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name case IS_ARRAY: ht = Z_ARRVAL_P(var); if (ht->nApplyCount > 1) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "WDDX doesn't support circular references"); + php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "WDDX doesn't support circular references"); return; } ht->nApplyCount++; @@ -668,7 +668,7 @@ void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name case IS_OBJECT: ht = Z_OBJPROP_P(var); if (ht->nApplyCount > 1) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "WDDX doesn't support circular references"); + php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "WDDX doesn't support circular references"); return; } ht->nApplyCount++; -- 2.50.1