Fix parameter $notrigger

This commit is contained in:
NextGestion 2021-04-03 09:40:44 +01:00
parent eb4d8848e2
commit 05e267d09c

View File

@ -765,7 +765,7 @@ class Partnership extends CommonObject
* @param int $notrigger 1=Does not execute triggers, 0=Execute triggers
* @return int <0 if KO, 0=Nothing done, >0 if OK
*/
public function refused($user, $reason = '')
public function refused($user, $notrigger = '')
{
// Protection
// if ($this->status != self::STATUS_DRAFT) {