From 198c09f77506cfcc967eb4991de024a20218b6fb Mon Sep 17 00:00:00 2001 From: Rob Richards Date: Wed, 3 Dec 2003 21:27:01 +0000 Subject: [PATCH] fix notations - forgot to create iterator --- ext/dom/documenttype.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.50.1