From 7de2428bc211a7fc8f1c75478a2c84dbed1885ca Mon Sep 17 00:00:00 2001 From: UT from dolibit <45215329+dolibit-ut@users.noreply.github.com> Date: Wed, 26 Mar 2025 20:03:54 +0100 Subject: [PATCH] Update custom_prompt.php (#33623) changed: $arrayofia -> $arrayofai --- htdocs/ai/admin/custom_prompt.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/ai/admin/custom_prompt.php b/htdocs/ai/admin/custom_prompt.php index d4ed7b612ff..6efe6229d78 100644 --- a/htdocs/ai/admin/custom_prompt.php +++ b/htdocs/ai/admin/custom_prompt.php @@ -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); }