N°4977 - Wrong result in search on a Service subcategory for Service provider

This commit is contained in:
acognet
2022-03-22 17:02:46 +01:00
parent b368c593e5
commit 2039b872d3

View File

@@ -493,7 +493,7 @@ class SearchForm
$aAllowedValues = array();
while ($oObject = $oSet->Fetch())
{
$aAllowedValues[] = ["value"=>$oObject->GetKey(), "label" => $oObject->GetName()];
$aAllowedValues[$oObject->GetKey()] = $oObject->GetName();
}
return array('values' => $aAllowedValues);
}