forked from Wavyzz/dolibarr
The variable $notrigger seems to be never defined
This commit is contained in:
@@ -360,12 +360,13 @@ class Livraison extends CommonObject
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate object and update stock if option enabled
|
||||
* Validate object and update stock if option enabled
|
||||
*
|
||||
* @param User $user Object user that validate
|
||||
* @return int
|
||||
* @param User $user Object user that validate
|
||||
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
||||
* @return int
|
||||
*/
|
||||
public function valid($user)
|
||||
public function valid($user, $notrigger = 0)
|
||||
{
|
||||
global $conf, $langs;
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
||||
|
||||
Reference in New Issue
Block a user