Skip to content

Commit

Permalink
Fix: for avoid problem with currentcontext
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Oct 6, 2017
1 parent f9d9642 commit 4ea3d27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/admin/company.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
$error=0;

// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
$hookmanager->initHooks(array('admincompany','globaladmin'));
$contextpage=array('admincompany','globaladmin');
$hookmanager->initHooks($contextpage);

/*
* Actions
Expand Down

0 comments on commit 4ea3d27

Please sign in to comment.