Fix bad function name into hook
This commit is contained in:
parent
4e1b46feeb
commit
5e55f0ecce
@ -160,9 +160,10 @@ for ($m = 1 ; $m < 13 ; $m++ )
|
|||||||
$parameters["mode"] = $modetax;
|
$parameters["mode"] = $modetax;
|
||||||
$parameters["year"] = $y;
|
$parameters["year"] = $y;
|
||||||
$parameters["month"] = $m;
|
$parameters["month"] = $m;
|
||||||
|
|
||||||
// Initialize technical object to manage hooks of expenses. Note that conf->hooks_modules contains array array
|
// Initialize technical object to manage hooks of expenses. Note that conf->hooks_modules contains array array
|
||||||
$hookmanager->initHooks(array('externalbalance'));
|
$hookmanager->initHooks(array('externalbalance'));
|
||||||
$reshook=$hookmanager->executeHooks('addStatisticLine',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
$reshook=$hookmanager->executeHooks('addVatLine',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
||||||
|
|
||||||
if (! is_array($coll_listbuy) && $coll_listbuy == -1)
|
if (! is_array($coll_listbuy) && $coll_listbuy == -1)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user