summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorwei <>2006-07-28 06:06:32 +0000
committerwei <>2006-07-28 06:06:32 +0000
commit5fc75a5f53fa07971b604c5318da5bf07379ef89 (patch)
tree2a88f91df64f0182e245e3b87ee3c2658fdc06aa /framework
parentcaa348ceabba58447bf8deddb8c6316ff3dc88ce (diff)
Complete Time-Tracker demo app.
Diffstat (limited to 'framework')
-rw-r--r--framework/DataAccess/SQLMap/Statements/TMappedStatement.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/DataAccess/SQLMap/Statements/TMappedStatement.php b/framework/DataAccess/SQLMap/Statements/TMappedStatement.php
index dfe7aa9a..3dc100dc 100644
--- a/framework/DataAccess/SQLMap/Statements/TMappedStatement.php
+++ b/framework/DataAccess/SQLMap/Statements/TMappedStatement.php
@@ -968,7 +968,8 @@ class TSQLMapObjectCollectionTree
if(!$found && !empty($parent))
{
$this->_tree[$parent] = array();
- $this->_entries[$parent] = $object;
+ if(!isset($this->_entries[$parent]) || $object !== '')
+ $this->_entries[$parent] = $object;
$this->addNode($this->_tree, $parent, $node);
}
}