Merge pull request #16697 from frederic34/patch-3

fix syntax
This commit is contained in:
Laurent Destailleur 2021-03-16 10:42:49 +01:00 committed by GitHub
commit 017120f017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -756,7 +756,7 @@ class FormMail extends Form
$out .= '<td>';
if ($this->withmaindocfile) {
if ($this->withmaindocfile) {
// withmaindocfile is set to 1 or -1 to show the checkbox (-1 = checked or 1 = not checked)
if (GETPOSTISSET('sendmail')) {
$this->withmaindocfile = (GETPOST('addmaindocfile', 'alpha') ? -1 : 1);
@ -1641,7 +1641,14 @@ class ModelMail
*/
public $label;
/**
* @var string Model mail topic
*/
public $topic;
/**
* @var string Model mail content
*/
public $content;
public $content_lines;
public $lang;