summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/Statements
diff options
context:
space:
mode:
authortof <>2008-02-26 15:16:47 +0000
committertof <>2008-02-26 15:16:47 +0000
commit2390515f54dc52dfe7954505a99a03bbcc4cb9a9 (patch)
treea52c74cce6ec18b29184cc4710a7739a85deb99f /framework/Data/SqlMap/Statements
parent16915ee6b1bf07c5132a46d0ab5f0e1dd87c47fb (diff)
Fixed TMappedStatement to make it work with recent ActiveRecords changes
Diffstat (limited to 'framework/Data/SqlMap/Statements')
-rw-r--r--framework/Data/SqlMap/Statements/TMappedStatement.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/Data/SqlMap/Statements/TMappedStatement.php b/framework/Data/SqlMap/Statements/TMappedStatement.php
index 3b935e7f..c100e386 100644
--- a/framework/Data/SqlMap/Statements/TMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TMappedStatement.php
@@ -560,8 +560,7 @@ class TMappedStatement extends TComponent implements IMappedStatement
$obj = $this->fillResultClass($resultClass, $row, $resultObject);
else
$obj = $this->fillDefaultResultMap(null, $row, $resultObject);
- if(class_exists('TActiveRecord',false) && $obj instanceof TActiveRecord)
- TActiveRecordManager::getInstance()->getObjectStateRegistry()->registerClean($obj);
+
return $obj;
}