summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/DataMapper
diff options
context:
space:
mode:
authorxue <>2008-01-04 22:20:08 +0000
committerxue <>2008-01-04 22:20:08 +0000
commitdba0eef8ab3986cdc84d6b9fec38cb9017a989c2 (patch)
tree607c6ef078640c8820c3235f3ec5803d623bc9c2 /framework/Data/SqlMap/DataMapper
parentb42131fe5e9769234afa27702e35d507cac0ba96 (diff)
fixed #707.
Diffstat (limited to 'framework/Data/SqlMap/DataMapper')
-rw-r--r--framework/Data/SqlMap/DataMapper/TPropertyAccess.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/Data/SqlMap/DataMapper/TPropertyAccess.php b/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
index c89bcb75..b1444163 100644
--- a/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
+++ b/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
@@ -138,10 +138,7 @@ class TPropertyAccess
{
$setter = 'set'.$prop;
if(is_callable(array($object, $setter)))
- {
- if($object->{$setter}($value) === null)
- $object->{$prop} = $value;
- }
+ $object->{$setter}($value);
else
$object->{$prop} = $value;
}