FIX Method setValid not found
This commit is contained in:
parent
2f61d29b06
commit
0373cad2cd
@ -683,7 +683,18 @@ class Don extends CommonObject
|
|||||||
dol_print_error($this->db);
|
dol_print_error($this->db);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Validate a intervention
|
||||||
|
*
|
||||||
|
* @param User $user User that validate
|
||||||
|
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
||||||
|
* @return int <0 if KO, >0 if OK
|
||||||
|
*/
|
||||||
|
function setValid($user, $notrigger=0)
|
||||||
|
{
|
||||||
|
return $this->valid_promesse($this->id, $user->id, $notrigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user