Skip to content

Commit

Permalink
NEW #22848 Use the right tag id
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentPoinsaut committed Dec 15, 2022
1 parent 4103c65 commit a217236
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion htdocs/categories/class/api_categories.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Categories extends DolibarrApi
11 => 'website_page',
12 => 'ticket',
13 => 'knowledgemanagement',
14 => 'order'
16 => 'order'
);

/**
Expand Down
4 changes: 2 additions & 2 deletions htdocs/categories/class/categorie.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class Categorie extends CommonObject
'website_page' => 11,
'ticket' => 12,
'knowledgemanagement' => 13,
'order' => 14
'order' => 16
);

/**
Expand All @@ -109,7 +109,7 @@ class Categorie extends CommonObject
11 => 'website_page',
12 => 'ticket',
13 => 'knowledgemanagement',
14 => 'order'
16 => 'order'
);

/**
Expand Down
4 changes: 2 additions & 2 deletions htdocs/core/menus/standard/eldy.lib.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
htdocs/core/menus/standard/eldy.lib.php<?php
/* Copyright (C) 2010-2022 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2010 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2012-2015 Juanjo Menent <jmenent@2byte.es>
Expand Down Expand Up @@ -1329,7 +1329,7 @@ function get_left_menu_commercial($mainmenu, &$newmenu, $usemenuhider = 1, $left
// Categories
if (isModEnabled('categorie')) {
$langs->load("categories");
$newmenu->add("/categories/index.php?leftmenu=cat&amp;type=14", $langs->trans("Categories"), 1, $user->rights->categorie->lire, '', $mainmenu, 'cat');
$newmenu->add("/categories/index.php?leftmenu=cat&amp;type=16", $langs->trans("Categories"), 1, $user->rights->categorie->lire, '', $mainmenu, 'cat');
}
}

Expand Down

0 comments on commit a217236

Please sign in to comment.