]> granicus.if.org Git - php/commitdiff
- Temporarily fix problem with inheriting from an internal class. This might
authorAndi Gutmans <andi@php.net>
Tue, 25 Mar 2003 20:36:26 +0000 (20:36 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 25 Mar 2003 20:36:26 +0000 (20:36 +0000)
- need some rework in the future (thanks to Marcus)

Zend/zend_compile.c

index f53aca28c4a0276875ef29084e2dcefa204b64d0..6329030910981644bb204d33f95fb12a61083a18 100644 (file)
@@ -1601,6 +1601,7 @@ static void do_inherit_parent_constructor(zend_class_entry *ce)
     if (!ce->__call) {
         ce->__call = ce->parent->__call;
     }
+       ce->create_object = ce->parent->create_object;
 }