From 5fc75a5f53fa07971b604c5318da5bf07379ef89 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 28 Jul 2006 06:06:32 +0000 Subject: Complete Time-Tracker demo app. --- framework/DataAccess/SQLMap/Statements/TMappedStatement.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/DataAccess') 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); } } -- cgit v1.2.3