소스 검색

Fixed bug (Trac #53), I don't know exactly what I did (!) but I've copied what's done in __DescribeHTML and this makes the full text search work for organizations !
Note that __DescribeHTML actually modifies the objects it is applied to (via a referenced passed to the Describe method)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@200 a333f486-631f-4898-b8df-5754b55c2be0

dflaven 15 년 전
부모
커밋
f4f771f4f8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      core/dbobjectsearch.class.php

+ 2 - 0
core/dbobjectsearch.class.php

@@ -275,6 +275,8 @@ class DBObjectSearch
 	public function AddCondition_FullText($sFullText)
 	{
 		$this->m_aFullText[] = $sFullText;
+		$index = count($this->m_aParams) + 1;
+		$this->m_aParams['param'.$index] = 1;
 	}
 
 	protected function AddToNameSpace(&$aClassAliases, &$aAliasTranslation)