]> granicus.if.org Git - php/commitdiff
Fix class flags when handling abstract methods
authorMarcus Boerger <helly@php.net>
Tue, 24 Feb 2004 23:39:12 +0000 (23:39 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 24 Feb 2004 23:39:12 +0000 (23:39 +0000)
Zend/zend_API.c

index 0cf80acad07317b6d9ff800bbd4db97c1927d8fc..3a82e9a9bb1867dcbf7e614f8e02a9097d238fe3 100644 (file)
@@ -1240,7 +1240,7 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, zend_function_entr
                }
                if (ptr->flags&ZEND_ACC_ABSTRACT) {
                        if (scope) {
-                               scope->ce_flags |= ZEND_ACC_ABSTRACT;
+                               scope->ce_flags |= ZEND_ACC_ABSTRACT_CLASS;
                        }
                } else {
                        if (scope && scope->ce_flags&ZEND_ACC_INTERFACE) {