From 17b1d0b7c9e02f954d8877f40bfd814b2b8adec3 Mon Sep 17 00:00:00 2001 From: javalizard <> Date: Sun, 18 Apr 2010 04:25:03 +0000 Subject: Ensured parent::__construct calls to Base, Caching, and Collections --- framework/Collections/TStack.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/Collections/TStack.php') diff --git a/framework/Collections/TStack.php b/framework/Collections/TStack.php index 3c8d5fc6..16bd6fca 100644 --- a/framework/Collections/TStack.php +++ b/framework/Collections/TStack.php @@ -4,7 +4,7 @@ * * @author Qiang Xue * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2008 PradoSoft + * @copyright Copyright © 2005-2010 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Collections @@ -52,6 +52,7 @@ class TStack extends TComponent implements IteratorAggregate,Countable */ public function __construct($data=null) { + parent::__construct(); if($data!==null) $this->copyFrom($data); } -- cgit v1.2.3