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
|
* @param int $notrigger 1=Does not execute triggers, 0=Execute triggers
|
||||||
* @return int <0 if KO, 0=Nothing done, >0 if OK
|
* @return int <0 if KO, 0=Nothing done, >0 if OK
|
||||||
*/
|
*/
|
||||||
public function refused($user, $reason = '')
|
public function refused($user, $notrigger = '')
|
||||||
{
|
{
|
||||||
// Protection
|
// Protection
|
||||||
// if ($this->status != self::STATUS_DRAFT) {
|
// if ($this->status != self::STATUS_DRAFT) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user