summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data')
-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;
}