浏览代码

Fixed cosmetic issue in the error reporting on OQL normalization (using a tree operator on a NON hierarchical key)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1954 a333f486-631f-4898-b8df-5754b55c2be0
romainq 13 年之前
父节点
当前提交
515ee33c87
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/dbobjectsearch.class.php

+ 1 - 1
core/dbobjectsearch.class.php

@@ -610,7 +610,7 @@ class DBObjectSearch
 		}
 		if(($iOperatorCode != TREE_OPERATOR_EQUALS) && !($oAttExtKey instanceof AttributeHierarchicalKey))
 		{
-			throw new CoreException("The specified tree operator $isOperatorCode is not applicable to the key '{$this->GetClass()}::$sExtKeyAttCode', which is not a HierarchicalKey");
+			throw new CoreException("The specified tree operator $iOperatorCode is not applicable to the key '{$this->GetClass()}::$sExtKeyAttCode', which is not a HierarchicalKey");
 		}
 
 		$bSamePointingTo = false;