mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix CI
This commit is contained in:
parent
4e26febdd8
commit
20e669c136
|
|
@ -100,7 +100,7 @@ $dirmodels = array_merge(array('/'), (array) $conf->modules_parts['models']);
|
||||||
$currentConfigurationsJson = getDolGlobalString('AI_CONFIGURATIONS_PROMPT');
|
$currentConfigurationsJson = getDolGlobalString('AI_CONFIGURATIONS_PROMPT');
|
||||||
$currentConfigurations = json_decode($currentConfigurationsJson, true);
|
$currentConfigurations = json_decode($currentConfigurationsJson, true);
|
||||||
|
|
||||||
if ($action == 'updatefeaturemodel' && !empty($formSetup) && is_object($formSetup) && !empty($user->admin)) {
|
if ($action == 'updatefeaturemodel' && !empty($user->admin)) {
|
||||||
$formSetup->saveConfFromPost();
|
$formSetup->saveConfFromPost();
|
||||||
$action = 'edit';
|
$action = 'edit';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ function getListOfAIFeatures()
|
||||||
/**
|
/**
|
||||||
* Get list of available ai services
|
* Get list of available ai services
|
||||||
*
|
*
|
||||||
* @return array<string,array<string,string>>
|
* @return array<int|string,mixed>
|
||||||
*/
|
*/
|
||||||
function getListOfAIServices()
|
function getListOfAIServices()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user