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

index 0b6f8ce4c47e6f7967f798ca0154a34fb4312f6d..3baf57a8915c08110f35ad05f3748b2949baaa87 100644 (file)
@@ -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++;