From 38ee4e0ef003bcdc519d0c9526f39868c353d4b3 Mon Sep 17 00:00:00 2001 From: Lamrani Abdel Date: Wed, 17 Jan 2024 12:33:33 +0100 Subject: [PATCH] fix params in function --- htdocs/core/class/html.formmail.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index d23177ca232..1f99b92d214 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -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)) {