summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/simplexml/simplexml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index 1fd7d1eb3f..dc327f83c8 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -135,7 +135,7 @@ sxe_property_read(zval *object, zval *member, zend_bool silent TSRMLS_DC)
MAKE_STD_ZVAL(value);
contents = xmlNodeListGetString((xmlDocPtr) sxe->document->ptr, attr->children, 1);
- ZVAL_STRING(value, contents, 0);
+ ZVAL_STRING(value, contents, 1);
APPEND_CUR_ELEMENT(counter, value);
}
attr = attr->next;