rrichards               Wed Oct 29 21:22:34 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/dom    php_dom.c 
  Log:
  MFH: fix bug #46406 (Unregistering nodeclass throws E_FATAL)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/dom/php_dom.c?r1=1.73.2.12.2.13&r2=1.73.2.12.2.14&diff_format=u
Index: php-src/ext/dom/php_dom.c
diff -u php-src/ext/dom/php_dom.c:1.73.2.12.2.13 
php-src/ext/dom/php_dom.c:1.73.2.12.2.14
--- php-src/ext/dom/php_dom.c:1.73.2.12.2.13    Mon Dec 31 07:20:06 2007
+++ php-src/ext/dom/php_dom.c   Wed Oct 29 21:22:34 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_dom.c,v 1.73.2.12.2.13 2007/12/31 07:20:06 sebastian Exp $ */
+/* $Id: php_dom.c,v 1.73.2.12.2.14 2008/10/29 21:22:34 rrichards Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -186,7 +186,7 @@
                if (ce) {
                        return zend_hash_update(doc_props->classmap, 
basece->name, basece->name_length + 1, &ce, sizeof(ce), NULL);
                } else {
-                       return zend_hash_del(doc_props->classmap, basece->name, 
basece->name_length + 1);
+                       zend_hash_del(doc_props->classmap, basece->name, 
basece->name_length + 1);
                }
        }
        return SUCCESS;



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

Reply via email to