Merge pull request #22799 from lamrani002/fix_issue_html_formticket_class

Fix issue variables whithread and errors
This commit is contained in:
Laurent Destailleur 2022-11-15 13:09:46 +01:00 committed by GitHub
commit c08eeac3f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,7 @@ class FormTicket
public $withtitletopic;
public $withtopicreadonly;
public $withreadid;
public $withcompany; // to show company drop-down list
public $withfromsocid;
public $withfromcontactid;
@ -108,6 +109,7 @@ class FormTicket
* @var string Error code (or message)
*/
public $error;
public $errors = array();
/**
@ -126,7 +128,7 @@ class FormTicket
$this->withcompany = isModEnabled("societe");
$this->withfromsocid = 0;
$this->withfromcontactid = 0;
//$this->withreadid=0;
$this->withreadid=0;
//$this->withtitletopic='';
$this->withnotifytiersatcreate = 0;
$this->withusercreate = 1;