]> granicus.if.org Git - php/commitdiff
- fix bug #54423, fix build in trunk, introduce by previous related commit
authorPierre Joye <pajoye@php.net>
Thu, 31 Mar 2011 23:58:06 +0000 (23:58 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 31 Mar 2011 23:58:06 +0000 (23:58 +0000)
Zend/zend_API.c

index 2d944785c56d97a712090f290ca6dab3a8e8f782..2b87648e303761a18da25cb7da6b9a8331e5434e 100644 (file)
@@ -2210,7 +2210,7 @@ ZEND_API int zend_get_module_started(const char *module_name) /* {{{ */
 
 static int clean_module_class(const zend_class_entry **ce, int *module_number TSRMLS_DC) /* {{{ */
 {
-       if ((*ce)->type == ZEND_INTERNAL_CLASS && (*ce)->module->module_number == *module_number) {
+       if ((*ce)->type == ZEND_INTERNAL_CLASS && (*ce)->info.internal.module->module_number == *module_number) {
                return ZEND_HASH_APPLY_REMOVE;
        } else {
                return ZEND_HASH_APPLY_KEEP;