Fix issue variables whithread and errors
This commit is contained in:
parent
055627e248
commit
d1ae66dd11
@ -126,7 +126,7 @@ class FormTicket
|
|||||||
$this->withcompany = isModEnabled("societe");
|
$this->withcompany = isModEnabled("societe");
|
||||||
$this->withfromsocid = 0;
|
$this->withfromsocid = 0;
|
||||||
$this->withfromcontactid = 0;
|
$this->withfromcontactid = 0;
|
||||||
//$this->withreadid=0;
|
$this->withreadid=0;
|
||||||
//$this->withtitletopic='';
|
//$this->withtitletopic='';
|
||||||
$this->withnotifytiersatcreate = 0;
|
$this->withnotifytiersatcreate = 0;
|
||||||
$this->withusercreate = 1;
|
$this->withusercreate = 1;
|
||||||
@ -1394,7 +1394,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) {
|
||||||
setEventMessages($this->error, $this->errors, 'errors');
|
setEventMessage($this->error, '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