Changeset 16337

Show
Ignore:
Timestamp:
05/08/08 00:58:46 (5 months ago)
Author:
flack
Message:

backport r16336

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/MidCOM_2_8/midgard.admin.asgard/handler/type.php

    r15918 r16337  
    8787        foreach ($child_classes as $child_class) 
    8888        { 
    89             $dummy_objects[] = new $child_class(); 
     89            if ($child_class != $type_class) 
     90            { 
     91                $dummy_objects[] = new $child_class(); 
     92            } 
    9093        } 
    9194