Skip to content

Commit 198c09f

Browse files
author
Rob Richards
committed
fix notations - forgot to create iterator
1 parent 247f991 commit 198c09f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/dom/documenttype.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ int dom_documenttype_notations_read(dom_object *obj, zval **retval TSRMLS_DC)
100100
dom_object *intern;
101101

102102
doctypep = (xmlDtdPtr) dom_object_get_node(obj);
103+
104+
MAKE_STD_ZVAL(*retval);
105+
php_dom_create_interator(*retval, DOM_NAMEDNODEMAP TSRMLS_CC);
106+
103107
notationht = (xmlHashTable *) doctypep->notations;
104108

105109
intern = (dom_object *)zend_objects_get_address(*retval TSRMLS_CC);

0 commit comments

Comments
 (0)