Fix: Must add a context for cli execution of hooks
This commit is contained in:
parent
e991c614d3
commit
0aa69e534e
@ -81,6 +81,8 @@ $userlogin = $argv[2];
|
|||||||
$version = DOL_VERSION;
|
$version = DOL_VERSION;
|
||||||
$error = 0;
|
$error = 0;
|
||||||
|
|
||||||
|
$hookmanager->initHooks(array('cli'));
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Main
|
* Main
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user