summaryrefslogtreecommitdiff
path: root/ext/wddx
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-05-30 02:40:33 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-05-30 02:40:33 +0000
commita400d8908d98613e1cf702958cb3eaa21f39c529 (patch)
tree3f11e40c42c80308cd8e3c6e11b166f0de8ca608 /ext/wddx
parent43b660b6ea0093784190986c8eb34e1ab753e5f1 (diff)
downloadphp-git-a400d8908d98613e1cf702958cb3eaa21f39c529.tar.gz
Convert E_ERROR to E_RECOVERABLE_ERROR
Diffstat (limited to 'ext/wddx')
-rw-r--r--ext/wddx/wddx.c4
1 files 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++;