rrichards Wed Oct 29 21:21:47 2008 UTC
Modified files: (Branch: PHP_5_3)
/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.12.2.9&r2=1.73.2.12.2.12.2.10&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.12.2.9
php-src/ext/dom/php_dom.c:1.73.2.12.2.12.2.10
--- php-src/ext/dom/php_dom.c:1.73.2.12.2.12.2.9 Fri Oct 24 14:35:33 2008
+++ php-src/ext/dom/php_dom.c Wed Oct 29 21:21:47 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_dom.c,v 1.73.2.12.2.12.2.9 2008/10/24 14:35:33 felipe Exp $ */
+/* $Id: php_dom.c,v 1.73.2.12.2.12.2.10 2008/10/29 21:21:47 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -188,7 +188,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