From: Rob Richards Date: Wed, 3 Dec 2003 21:27:01 +0000 (+0000) Subject: fix notations - forgot to create iterator X-Git-Tag: php-5.0.0b3RC1~373 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=198c09f77506cfcc967eb4991de024a20218b6fb;p=php fix notations - forgot to create iterator --- diff --git a/ext/dom/documenttype.c b/ext/dom/documenttype.c index 036e825a6d..c5a4e09282 100644 --- a/ext/dom/documenttype.c +++ b/ext/dom/documenttype.c @@ -100,6 +100,10 @@ int dom_documenttype_notations_read(dom_object *obj, zval **retval TSRMLS_DC) dom_object *intern; doctypep = (xmlDtdPtr) dom_object_get_node(obj); + + MAKE_STD_ZVAL(*retval); + php_dom_create_interator(*retval, DOM_NAMEDNODEMAP TSRMLS_CC); + notationht = (xmlHashTable *) doctypep->notations; intern = (dom_object *)zend_objects_get_address(*retval TSRMLS_CC);