mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
fix: warning Form IA and settings (#34426)
* fix: warning Form IA and settings * fix: warning Form IA and settings * Update html.formmail.class.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -406,6 +406,7 @@ if ($action == 'edit' || $action == 'create' || $action == 'deleteproperty') {
|
||||
$showlinktoailabel = $langs->trans("ToTest");
|
||||
$htmlname = $confkey;
|
||||
$onlyenhancements = $confkey;
|
||||
$showlinktolayout = 0;
|
||||
|
||||
// Fill $out
|
||||
include DOL_DOCUMENT_ROOT.'/core/tpl/formlayoutai.tpl.php';
|
||||
|
||||
@@ -1102,10 +1102,12 @@ class FormMail extends Form
|
||||
$showlinktoailabel = $langs->trans("AIEnhancements");
|
||||
$formatforouput = '';
|
||||
$htmlname = 'message';
|
||||
|
||||
$formai->substit = $this->substit;
|
||||
$formai->substit_lines = $this->substit_lines;
|
||||
|
||||
// Fill $out
|
||||
$db = $this->db;
|
||||
include DOL_DOCUMENT_ROOT.'/core/tpl/formlayoutai.tpl.php';
|
||||
|
||||
$out .= '</td>';
|
||||
|
||||
Reference in New Issue
Block a user