From de3e818ccf53eb35997b95478fe02a4e90c4d57b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Sep 2020 18:08:08 +0200 Subject: [PATCH] Update html.form.class.php --- htdocs/core/class/html.form.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 0544fd25bad..996fcc52912 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -7992,7 +7992,7 @@ class Form $result = $formmail->fetchAllEMailTemplate($modelType, $user, $langs); if ($result > 0) { - if($default) $TModels[0] = $langs->trans('DefaultMailModel'); + if ($default) $TModels[0] = $langs->trans('DefaultMailModel'); foreach ($formmail->lines_model as $model){ $TModels[$model->id] = $model->label; }