use getAttributeTypeText() and getAttributeObjectTypeText()

This commit is contained in:
Uwe Steinmann 2023-01-26 20:58:47 +01:00
parent 12a9762c96
commit 23bd194007

View File

@ -644,7 +644,7 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk))
echo "<option value=\"".$rec->getID()."\""; echo "<option value=\"".$rec->getID()."\"";
if(in_array($rec->getID(), $selections)) if(in_array($rec->getID(), $selections))
echo " selected"; echo " selected";
echo ">".htmlspecialchars($rec->getName())."</option>"; echo " data-subtitle=\"".htmlspecialchars(getAttributeObjectTypeText($rec).", ".getAttributeTypeText($rec))."\">".htmlspecialchars($rec->getName())."</option>";
} }
echo "</select>"; echo "</select>";
} else { } else {