mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix parameter $notrigger
This commit is contained in:
parent
eb4d8848e2
commit
05e267d09c
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user