mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: UnsavedRelationList did not call its constructor
This resulted in Object extensions not working for it, and methods not existing where they should have. It also resulted in poor error messages appearing when thrown from Object since $this->class was empty since the constructor was never called in Object.
This commit is contained in:
parent
13e632d053
commit
5512d7c0d0
@ -51,6 +51,7 @@ class UnsavedRelationList extends ArrayList {
|
||||
$this->baseClass = $baseClass;
|
||||
$this->relationName = $relationName;
|
||||
$this->dataClass = $dataClass;
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user