Fix regression
This commit is contained in:
parent
1b5bcaccc6
commit
f5a156ee06
@ -144,7 +144,7 @@ class HookManager
|
|||||||
*/
|
*/
|
||||||
public function executeHooks($method, $parameters = array(), &$object = '', &$action = '')
|
public function executeHooks($method, $parameters = array(), &$object = '', &$action = '')
|
||||||
{
|
{
|
||||||
if (! is_array($this->hooks) || empty($this->hooks)) return 0;
|
if (! is_array($this->hooks) || empty($this->hooks)) return '';
|
||||||
|
|
||||||
$parameters['context']=join(':', $this->contextarray);
|
$parameters['context']=join(':', $this->contextarray);
|
||||||
//dol_syslog(get_class($this).'::executeHooks method='.$method." action=".$action." context=".$parameters['context']);
|
//dol_syslog(get_class($this).'::executeHooks method='.$method." action=".$action." context=".$parameters['context']);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user