]> granicus.if.org Git - php/commitdiff
fix notations - forgot to create iterator
authorRob Richards <rrichards@php.net>
Wed, 3 Dec 2003 21:27:01 +0000 (21:27 +0000)
committerRob Richards <rrichards@php.net>
Wed, 3 Dec 2003 21:27:01 +0000 (21:27 +0000)
ext/dom/documenttype.c

index 036e825a6d23b4a08fbf9498d3d3168d9f90c371..c5a4e0928255be5784ba253cb1ca27f63b70b27b 100644 (file)
@@ -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);