Fix: security in tab category

This commit is contained in:
Regis Houssin 2009-04-30 12:52:04 +00:00
parent 929939d0bf
commit ab65d529d6

View File

@ -76,7 +76,7 @@ function societe_prepare_head($objsoc)
//show categorie tab
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][2] = 'category';
$h++;