Merge pull request #12553 from frederic34/patch-17
The variable $notrigger seems to be never defined
This commit is contained in:
commit
f605bdc085
@ -363,9 +363,10 @@ 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
|
* @param User $user Object user that validate
|
||||||
|
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function valid($user)
|
public function valid($user, $notrigger = 0)
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user