diff options
author | xue <> | 2006-10-18 01:38:47 +0000 |
---|---|---|
committer | xue <> | 2006-10-18 01:38:47 +0000 |
commit | af832a5a9018c7dcc2f24111d82049902269fc53 (patch) | |
tree | b66193de9e7b75c916a92d6c951a22a90d85fed6 /framework/Collections/TList.php | |
parent | 459bb9c618a8f2897da22129167e634589435e38 (diff) |
merge from 3.0 branch till 1463.
Diffstat (limited to 'framework/Collections/TList.php')
-rw-r--r-- | framework/Collections/TList.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php index f22d6e7b..e646e203 100644 --- a/framework/Collections/TList.php +++ b/framework/Collections/TList.php @@ -134,7 +134,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl public function add($item)
{
$this->insertAt($this->_c,$item);
- return $this->_c;
+ return $this->_c-1;
}
/**
|