rrichards               Thu Jul  7 06:36:09 2005 EDT

  Modified files:              
    /php-src/ext/dom    element.c 
  Log:
  Allow NULL namespaceURI for getAttributeNodeNS
  
http://cvs.php.net/diff.php/php-src/ext/dom/element.c?r1=1.34&r2=1.35&ty=u
Index: php-src/ext/dom/element.c
diff -u php-src/ext/dom/element.c:1.34 php-src/ext/dom/element.c:1.35
--- php-src/ext/dom/element.c:1.34      Fri May 20 11:01:38 2005
+++ php-src/ext/dom/element.c   Thu Jul  7 06:36:08 2005
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: element.c,v 1.34 2005/05/20 15:01:38 rrichards Exp $ */
+/* $Id: element.c,v 1.35 2005/07/07 10:36:08 rrichards Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -671,7 +671,7 @@
        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;
        }
 

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

Reply via email to