diff options
Diffstat (limited to 'framework/Collections')
-rw-r--r-- | framework/Collections/TList.php | 1 | ||||
-rw-r--r-- | framework/Collections/TMap.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php index 7383b684..1090ce77 100644 --- a/framework/Collections/TList.php +++ b/framework/Collections/TList.php @@ -58,6 +58,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess */
public function __construct($data=null)
{
+ parent::__construct();
if($data!==null)
$this->copyFrom($data);
}
diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php index 7c46ae70..4d810503 100644 --- a/framework/Collections/TMap.php +++ b/framework/Collections/TMap.php @@ -53,6 +53,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess */
public function __construct($data=null)
{
+ parent::__construct();
if($data!==null)
$this->copyFrom($data);
}
|