fix condition problem
This commit is contained in:
parent
aa706fb4a8
commit
0c63d5ce4f
1 changed files with 1 additions and 1 deletions
|
|
@ -889,7 +889,7 @@ class FormMail extends Form
|
|||
|
||||
//input prompt AI
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
||||
if (isModEnabled('ai') && $apiKey = dolibarr_get_const($this->db, 'AI_CHATGPT_API_KEY', 0)) {
|
||||
if (isModEnabled('ai') && dolibarr_get_const($this->db, 'AI_CHATGPT_API_KEY', 0)) {
|
||||
$out .= $this->getHtmlForInstruction();
|
||||
}
|
||||
// Message
|
||||
|
|
|
|||
Loading…
Reference in a new issue