Forráskód Böngészése

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 éve
szülő
commit
f4f771f4f8
1 módosított fájl, 2 hozzáadás és 0 törlés
  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)