Update custom_prompt.php (#33623)

changed:  $arrayofia -> $arrayofai
This commit is contained in:
UT from dolibit 2025-03-26 20:03:54 +01:00 committed by GitHub
parent 41f29a3ae6
commit 7de2428bc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@ require_once DOL_DOCUMENT_ROOT."/core/class/html.formai.class.php";
$langs->loadLangs(array("admin", "website", "other"));
$arrayofaifeatures = getListOfAIFeatures();
$arrayofia = getListOfAIServices();
$arrayofai = getListOfAIServices();
// Parameters
$action = GETPOST('action', 'aZ09');
@ -412,7 +412,7 @@ if ($action == 'edit' || $action == 'create' || $action == 'deleteproperty') {
if ($action == 'edit' || $action == 'create' || $action == 'deleteproperty') {
print load_fiche_titre($langs->trans("AIModelForFeature", $arrayofia[$aiservice]), $newbutton, '');
print load_fiche_titre($langs->trans("AIModelForFeature", $arrayofai[$aiservice]), $newbutton, '');
print $formSetup->generateOutput(true);
}