FIX missing call to executeHooks()
This commit is contained in:
parent
c5a67f074b
commit
ce83fa9f7e
@ -79,6 +79,9 @@ class box_dolibarr_state_board extends ModeleBoxes
|
|||||||
if (empty($user->socid) && empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS)) {
|
if (empty($user->socid) && empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS)) {
|
||||||
$hookmanager = new HookManager($this->db);
|
$hookmanager = new HookManager($this->db);
|
||||||
$hookmanager->initHooks(array('index'));
|
$hookmanager->initHooks(array('index'));
|
||||||
|
$object = new stdClass;
|
||||||
|
$action = '';
|
||||||
|
$hookmanager->executeHooks('addStatisticLine', array(), $object, $action);
|
||||||
$boxstatItems = array();
|
$boxstatItems = array();
|
||||||
$boxstatFromHook = '';
|
$boxstatFromHook = '';
|
||||||
$boxstatFromHook = $hookmanager->resPrint;
|
$boxstatFromHook = $hookmanager->resPrint;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user