forked from Wavyzz/dolibarr
fix CI
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user