summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/SqlMap/DataMapper/TSqlMapException.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/SqlMap/DataMapper/TSqlMapException.php b/framework/Data/SqlMap/DataMapper/TSqlMapException.php
index 65ee6d18..7a30b328 100644
--- a/framework/Data/SqlMap/DataMapper/TSqlMapException.php
+++ b/framework/Data/SqlMap/DataMapper/TSqlMapException.php
@@ -31,7 +31,7 @@ class TSqlMapException extends TException
$tokens=array();
for($i=0;$i<$n;++$i)
{
- if($args[$i] instanceof SimpleXmlElement)
+ if($args[$i] instanceof SimpleXMLElement)
$tokens['{'.$i.'}']=$this->implodeNode($args[$i]);
else
$tokens['{'.$i.'}']=TPropertyValue::ensureString($args[$i]);