fix regression: use $hookmanager as a global variable to avoid errors on thirdparty page.
This commit is contained in:
parent
d0ed15ce5c
commit
a913bf3875
@ -41,7 +41,7 @@
|
|||||||
*/
|
*/
|
||||||
function societe_prepare_head(Societe $object)
|
function societe_prepare_head(Societe $object)
|
||||||
{
|
{
|
||||||
global $db, $langs, $conf, $user;
|
global $db, $langs, $conf, $user, $hookmanager;
|
||||||
$h = 0;
|
$h = 0;
|
||||||
$head = array();
|
$head = array();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user