From cbc337ced4cba058fc1ed38a6b01d7c4e6677c17 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 11 Aug 2015 18:32:09 +0200 Subject: Fixed class usage cases Class names are not case sensitive but file names are if you are running on an case sensitive file systems. Since class names map to file names, they need to be used case sensitive. --- framework/Data/SqlMap/DataMapper/TSqlMapException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Data/SqlMap/DataMapper/TSqlMapException.php') 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]); -- cgit v1.2.3