summaryrefslogtreecommitdiff
path: root/ext/dom/nodelist.c
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2004-03-31 17:18:59 +0000
committerRob Richards <rrichards@php.net>2004-03-31 17:18:59 +0000
commit010c340f296243ef78e50664df19b159223850fc (patch)
treef1dae612ae3e7f7a2dda47ba7da453101a79f42b /ext/dom/nodelist.c
parent39a43c994edfe11243f4565690fba52e854a24d9 (diff)
downloadphp-git-010c340f296243ef78e50664df19b159223850fc.tar.gz
use new style constructors
fix return for nodelist item
Diffstat (limited to 'ext/dom/nodelist.c')
-rw-r--r--ext/dom/nodelist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c
index 3a2e7f4f65..10a7b6671d 100644
--- a/ext/dom/nodelist.c
+++ b/ext/dom/nodelist.c
@@ -160,6 +160,7 @@ PHP_FUNCTION(dom_nodelist_item)
if (itemnode) {
DOM_RET_OBJ(rv, itemnode, &ret, objmap->baseobj);
+ return;
}
}