--- embedaddon/php/ext/dom/dom_iterators.c 2012/02/21 23:47:54 1.1.1.1 +++ embedaddon/php/ext/dom/dom_iterators.c 2012/05/29 12:34:37 1.1.1.2 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dom_iterators.c,v 1.1.1.1 2012/02/21 23:47:54 misho Exp $ */ +/* $Id: dom_iterators.c,v 1.1.1.2 2012/05/29 12:34:37 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -251,7 +251,7 @@ err: zval_ptr_dtor((zval**)&curobj); if (curnode) { MAKE_STD_ZVAL(curattr); - curattr = php_dom_create_object(curnode, &ret, NULL, curattr, objmap->baseobj TSRMLS_CC); + curattr = php_dom_create_object(curnode, &ret, curattr, objmap->baseobj TSRMLS_CC); } iterator->curobj = curattr; @@ -330,7 +330,7 @@ zend_object_iterator *php_dom_get_iterator(zend_class_ err: if (curnode) { MAKE_STD_ZVAL(curattr); - curattr = php_dom_create_object(curnode, &ret, NULL, curattr, objmap->baseobj TSRMLS_CC); + curattr = php_dom_create_object(curnode, &ret, curattr, objmap->baseobj TSRMLS_CC); } iterator->curobj = curattr;