Skip to content

Commit

Permalink
FIX Close bug #2891 Category hooks do not work
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgdf committed Jun 12, 2015
1 parent f9d8597 commit 300cfd2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -37,6 +37,7 @@ English Dolibarr ChangeLog
- Fix: [ bug #2545 ] Missing object_margin.png in Amarok theme
- Fix: [ bug #2542 ] Contracts store localtax preferences
- Fix: Bad permission assignments for stock movements actions
- Fix: [ bug #2891 ] Category hooks do not work

***** ChangeLog for 3.6.2 compared to 3.6.1 *****
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice.
Expand Down
3 changes: 3 additions & 0 deletions htdocs/categories/edit.php
Expand Up @@ -56,6 +56,9 @@
$extrafields = new ExtraFields($db);
$extralabels=$extrafields->fetch_name_optionals_label($object->table_element);

// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('categorycard'));

/*
* Actions
*/
Expand Down
3 changes: 3 additions & 0 deletions htdocs/categories/fiche.php
Expand Up @@ -64,6 +64,9 @@
$extrafields = new ExtraFields($db);
$extralabels=$extrafields->fetch_name_optionals_label($object->table_element);

// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('categorycard'));

/*
* Actions
*/
Expand Down
3 changes: 3 additions & 0 deletions htdocs/categories/viewcat.php
Expand Up @@ -63,6 +63,9 @@
$extrafields = new ExtraFields($db);
$extralabels = $extrafields->fetch_name_optionals_label($object->table_element);

// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('categorycard'));

/*
* Actions
*/
Expand Down

0 comments on commit 300cfd2

Please sign in to comment.