fix params in function

This commit is contained in:
Lamrani Abdel 2024-01-17 12:33:33 +01:00
parent 77389ed565
commit 38ee4e0ef0

View file

@ -890,7 +890,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)) {
$out .= $this->getHtmlForInstruction($arraydefaultmessage, $helpforsubstitution);
$out .= $this->getHtmlForInstruction();
}
// Message
if (!empty($this->withbody)) {