rrichards               Wed Dec  3 16:27:02 2003 EDT

  Modified files:              
    /php-src/ext/dom    documenttype.c 
  Log:
  fix notations - forgot to create iterator
  
Index: php-src/ext/dom/documenttype.c
diff -u php-src/ext/dom/documenttype.c:1.7 php-src/ext/dom/documenttype.c:1.8
--- php-src/ext/dom/documenttype.c:1.7  Sat Nov 29 15:40:17 2003
+++ php-src/ext/dom/documenttype.c      Wed Dec  3 16:27:01 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: documenttype.c,v 1.7 2003/11/29 20:40:17 rrichards Exp $ */
+/* $Id: documenttype.c,v 1.8 2003/12/03 21:27:01 rrichards Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -100,6 +100,10 @@
        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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to