summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlgmathisen <>2008-11-07 11:49:53 +0000
committercarlgmathisen <>2008-11-07 11:49:53 +0000
commit9eb445eb39064372c1cc21065fdbe38b2a054068 (patch)
treeed4b934328977c01cc82179a6f873165001df486
parent8d9364f64440f4c0c625f2447f4658d4d821731e (diff)
Issue#59 - TPropertyAccess::has()
-rw-r--r--HISTORY1
-rw-r--r--framework/Data/SqlMap/DataMapper/TPropertyAccess.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index cb3bf5bd..be941ffe 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,5 +1,6 @@
Version 3.1.4 To be released
==============================
+BUG: Issue#59 - TPropertyAccess::has() returns false even if the property of an object was found (Carl)
NEW: Issue#29 - Ability to specify position of popup TDatePicker (Carl)
Version 3.1.3 November 1, 2008
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;