Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
Laurent Destailleur 2022-11-15 13:12:41 +01:00
commit 49175dbb05

View File

@ -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();
/** /**
@ -126,7 +128,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;