mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
890f7e3919
When querying DataObjects by a generic parent class (like SiteTree for instance), fields added via $db set on child classes wouldnt appear. This is because Object::__construct wasnt called early enough in DataObject::__construct, so extensions werent initialised when $db was first accessed