summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/DataMapper
diff options
context:
space:
mode:
authorcarlgmathisen <>2008-11-07 11:49:53 +0000
committercarlgmathisen <>2008-11-07 11:49:53 +0000
commit9eb445eb39064372c1cc21065fdbe38b2a054068 (patch)
treeed4b934328977c01cc82179a6f873165001df486 /framework/Data/SqlMap/DataMapper
parent8d9364f64440f4c0c625f2447f4658d4d821731e (diff)
Issue#59 - TPropertyAccess::has()
Diffstat (limited to 'framework/Data/SqlMap/DataMapper')
-rw-r--r--framework/Data/SqlMap/DataMapper/TPropertyAccess.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Data/SqlMap/DataMapper/TPropertyAccess.php b/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
index 23e854ac..a27cb50f 100644
--- a/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
+++ b/framework/Data/SqlMap/DataMapper/TPropertyAccess.php
@@ -106,7 +106,8 @@ class TPropertyAccess
$object = $object->{$getter}();
else if(in_array($prop, array_keys(get_object_vars($object))))
$object = $object->{$prop};
- return false;
+ else
+ return false;
}
else
return false;