diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php index 8e27ca708a9..954241e655d 100644 --- a/htdocs/categories/edit.php +++ b/htdocs/categories/edit.php @@ -160,6 +160,7 @@ else print ''.$langs->trans("ContentsVisibleByAll").''; print $html->selectyesno("visible",$categorie->visible,1); print ''; + print ''; } print ''; diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index 63b4428234b..b7659fa2b9c 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -161,7 +161,8 @@ print "
\n"; if ($user->rights->categorie->creer) { - print "".$langs->trans("Modify").""; + $socid = ($c->socid ? "&socid=".$c->socid : ""); + print "".$langs->trans("Modify").""; } if ($user->rights->categorie->supprimer)