fix issue after PR
This commit is contained in:
parent
d1ae66dd11
commit
628ec01dae
@ -81,6 +81,7 @@ class FormTicket
|
|||||||
public $withtitletopic;
|
public $withtitletopic;
|
||||||
public $withtopicreadonly;
|
public $withtopicreadonly;
|
||||||
public $withreadid;
|
public $withreadid;
|
||||||
|
|
||||||
public $withcompany; // to show company drop-down list
|
public $withcompany; // to show company drop-down list
|
||||||
public $withfromsocid;
|
public $withfromsocid;
|
||||||
public $withfromcontactid;
|
public $withfromcontactid;
|
||||||
@ -108,6 +109,7 @@ class FormTicket
|
|||||||
* @var string Error code (or message)
|
* @var string Error code (or message)
|
||||||
*/
|
*/
|
||||||
public $error;
|
public $error;
|
||||||
|
public $errors = array();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1394,7 +1396,7 @@ class FormTicket
|
|||||||
|
|
||||||
$result = $formmail->fetchAllEMailTemplate($this->param["models"], $user, $outputlangs);
|
$result = $formmail->fetchAllEMailTemplate($this->param["models"], $user, $outputlangs);
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
setEventMessage($this->error, 'errors');
|
setEventMessages($this->error, $this->errors, 'errors');
|
||||||
}
|
}
|
||||||
$modelmail_array = array();
|
$modelmail_array = array();
|
||||||
foreach ($formmail->lines_model as $line) {
|
foreach ($formmail->lines_model as $line) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user