Skip to content

Commit

Permalink
Merge pull request #7575 from hregis/develop_admin
Browse files Browse the repository at this point in the history
Fix: for avoid problem with currentcontext
  • Loading branch information
eldy committed Oct 6, 2017
2 parents 43d85af + 4ea3d27 commit 1140016
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/admin/company.php
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 1140016

Please sign in to comment.