From 5512d7c0d093eea2306cf6b1b19e051094ecb01c Mon Sep 17 00:00:00 2001 From: Jeremy Thomerson Date: Fri, 24 May 2013 21:14:41 +0000 Subject: [PATCH] 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. --- model/UnsavedRelationList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/model/UnsavedRelationList.php b/model/UnsavedRelationList.php index 35aee6049..878462213 100644 --- a/model/UnsavedRelationList.php +++ b/model/UnsavedRelationList.php @@ -51,6 +51,7 @@ class UnsavedRelationList extends ArrayList { $this->baseClass = $baseClass; $this->relationName = $relationName; $this->dataClass = $dataClass; + parent::__construct(); } /**