summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
authorrojaro <>2010-10-06 17:46:39 +0000
committerrojaro <>2010-10-06 17:46:39 +0000
commit50ca2733c11c38408dc2517991d73d6e402fade5 (patch)
tree2c3ef1d2c957f2a90f98ca3b965ba10cd1a8810b /framework/Data
parent53d40a465408549a8518dbfd9ee0a4489a2480b1 (diff)
fixed #294
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/SqlMap/Configuration/TParameterMap.php5
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))
+ );
}
}