summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2005-07-07 10:36:08 +0000
committerRob Richards <rrichards@php.net>2005-07-07 10:36:08 +0000
commitb27d49579a123407b4fa5e572162075c0a0f5a62 (patch)
treefc9149490248b3c1bc87a63f36abef4ebbeba32b /ext/dom
parent27caee32bd753965411ebc44a1bd75f49d962883 (diff)
downloadphp-git-b27d49579a123407b4fa5e572162075c0a0f5a62.tar.gz
Allow NULL namespaceURI for getAttributeNodeNS
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/element.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/element.c b/ext/dom/element.c
index 09ba77df0c..f121715134 100644
--- a/ext/dom/element.c
+++ b/ext/dom/element.c
@@ -671,7 +671,7 @@ PHP_FUNCTION(dom_element_get_attribute_node_ns)
int uri_len, name_len, ret;
char *uri, *name;
- if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oss", &id, dom_element_class_entry, &uri, &uri_len, &name, &name_len) == FAILURE) {
+ if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os!s", &id, dom_element_class_entry, &uri, &uri_len, &name, &name_len) == FAILURE) {
return;
}