diff options
author | carlgmathisen <> | 2008-11-07 11:49:53 +0000 |
---|---|---|
committer | carlgmathisen <> | 2008-11-07 11:49:53 +0000 |
commit | 9eb445eb39064372c1cc21065fdbe38b2a054068 (patch) | |
tree | ed4b934328977c01cc82179a6f873165001df486 /framework | |
parent | 8d9364f64440f4c0c625f2447f4658d4d821731e (diff) |
Issue#59 - TPropertyAccess::has()
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Data/SqlMap/DataMapper/TPropertyAccess.php | 3 |
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;
|