diff --git a/htdocs/margin/agentMargins.php b/htdocs/margin/agentMargins.php index 32525114ee3..efea924b280 100644 --- a/htdocs/margin/agentMargins.php +++ b/htdocs/margin/agentMargins.php @@ -36,7 +36,7 @@ $langs->load("margins"); // Security check -if ($user->rights->margin->read->all) { +if ($user->rights->margins->read->all) { $agentid = GETPOST('agentid', 'int'); } else { $agentid = $user->id; @@ -91,7 +91,7 @@ dol_fiche_head($head, 'agentMargins', $titre, 0, $picto); print '