From 7e2c124d14fec961efe4d2f31baff13ea6bb2f86 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 30 May 2006 02:40:49 +0000 Subject: [PATCH] MFB: 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 0b6f8ce4c4..3baf57a891 100644 --- a/ext/wddx/wddx.c +++ b/ext/wddx/wddx.c @@ -658,7 +658,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++; @@ -669,7 +669,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.40.0