Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion htdocs/ai/admin/custom_prompt.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
$langs->loadLangs(array("admin", "website", "other"));

$arrayofaifeatures = getListOfAIFeatures();
$arrayofia = getListOfAIServices();
$arrayofai = getListOfAIServices();

// Parameters
$action = GETPOST('action', 'aZ09');
Expand Down Expand Up @@ -412,7 +412,7 @@


if ($action == 'edit' || $action == 'create' || $action == 'deleteproperty') {
print load_fiche_titre($langs->trans("AIModelForFeature", $arrayofia[$aiservice]), $newbutton, '');

Check warning on line 415 in htdocs/ai/admin/custom_prompt.php

View workflow job for this annotation

GitHub Actions / phan / Run phan

custom_prompt.php: PhanUndeclaredGlobalVariable: Global variable $arrayofia is undeclared

Check failure on line 415 in htdocs/ai/admin/custom_prompt.php

View workflow job for this annotation

GitHub Actions / phpstan / php-stan (8.2)

Variable $arrayofia might not be defined.
print $formSetup->generateOutput(true);
}

Expand Down
Loading