Fix: security in tab category
This commit is contained in:
parent
929939d0bf
commit
ab65d529d6
@ -76,7 +76,7 @@ function societe_prepare_head($objsoc)
|
|||||||
//show categorie tab
|
//show categorie tab
|
||||||
if ($conf->categorie->enabled)
|
if ($conf->categorie->enabled)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/categories/categorie.php?socid='.$objsoc->id;
|
$head[$h][0] = DOL_URL_ROOT.'/categories/categorie.php?type=2&socid='.$objsoc->id;
|
||||||
$head[$h][1] = $langs->trans('Categories');
|
$head[$h][1] = $langs->trans('Categories');
|
||||||
$head[$h][2] = 'category';
|
$head[$h][2] = 'category';
|
||||||
$h++;
|
$h++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user