Update Ticket::setProject method signature

This commit is contained in:
kevin 2022-05-10 15:41:38 +02:00
parent 76b0deefb3
commit f28dd2827b

View File

@ -2020,7 +2020,7 @@ class Ticket extends CommonObject
* @param int $projectid Project id to link element to * @param int $projectid Project id to link element to
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
*/ */
public function setProject($projectid) public function setProject($projectid, $notrigger = 0)
{ {
if (!$this->table_element) { if (!$this->table_element) {
dol_syslog(get_class($this)."::setProject was called on objet with property table_element not defined", LOG_ERR); dol_syslog(get_class($this)."::setProject was called on objet with property table_element not defined", LOG_ERR);