]> granicus.if.org Git - php/commitdiff
Convert E_ERROR to E_RECOVERABLE_ERROR
authorIlia Alshanetsky <iliaa@php.net>
Tue, 30 May 2006 02:40:33 +0000 (02:40 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 30 May 2006 02:40:33 +0000 (02:40 +0000)
ext/wddx/wddx.c

index 410f8378d8384359479450272beaace7e5e186d7..02f6b85c6893ac66782f173b6bac603fec1df903 100644 (file)
@@ -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++;