diff options
author | rojaro <> | 2010-10-06 17:46:39 +0000 |
---|---|---|
committer | rojaro <> | 2010-10-06 17:46:39 +0000 |
commit | 50ca2733c11c38408dc2517991d73d6e402fade5 (patch) | |
tree | 2c3ef1d2c957f2a90f98ca3b965ba10cd1a8810b | |
parent | 53d40a465408549a8518dbfd9ee0a4489a2480b1 (diff) |
fixed #294
-rw-r--r-- | framework/Data/SqlMap/Configuration/TParameterMap.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Data/SqlMap/Configuration/TParameterMap.php b/framework/Data/SqlMap/Configuration/TParameterMap.php index 60cf9f32..60b05662 100644 --- a/framework/Data/SqlMap/Configuration/TParameterMap.php +++ b/framework/Data/SqlMap/Configuration/TParameterMap.php @@ -185,7 +185,10 @@ class TParameterMap extends TComponent {
throw new TSqlMapException(
'sqlmap_unable_to_get_property_for_parameter',
- $this->getID(), $property->getProperty(), get_class($object));
+ $this->getID(),
+ $property->getProperty(),
+ (is_object($object) ? get_class($object) : gettype($object))
+ );
}
}
|