summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/soap/soap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 30cf757c67..7130add1ee 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -378,14 +378,11 @@ PHP_FUNCTION(soap_encode_to_xml)
php_error(E_ERROR, "wrong number of parameters to soap_encode_to_xml");
enc = get_conversion(Z_TYPE_P(pzval));
- return_value = php_domobject_new(seralize_zval(pzval, NULL, name, SOAP_ENCODED), &found, NULL TSRMLS_CC);
-
-/*
+
ret = php_domobject_new(seralize_zval(pzval, NULL, name, SOAP_ENCODED), &found, NULL TSRMLS_CC);
*return_value = *ret;
zval_copy_ctor(return_value);
zval_ptr_dtor(&ret);
-*/
}
PHP_FUNCTION(soap_encode_to_zval)