diff --git a/htdocs/margin/customerMargins.php b/htdocs/margin/customerMargins.php
index 88622bdf7ad..67bf8cef506 100644
--- a/htdocs/margin/customerMargins.php
+++ b/htdocs/margin/customerMargins.php
@@ -86,7 +86,7 @@ if ($socid > 0) {
{
print '
| '.$langs->trans('ThirdPartyName').' | ';
print '';
- $form->form_thirdparty($_SERVER['PHP_SELF'].'?socid='.$socid,$socid,'socid','client=1',1,0,1);
+ $form->form_thirdparty($_SERVER['PHP_SELF'].'?socid='.$socid,$socid,'socid','client=1 OR client=3',1,0,1);
print ' |
';
$client = true;
@@ -97,7 +97,7 @@ if ($socid > 0) {
else {
print '| '.$langs->trans('ThirdPartyName').' | ';
print '';
- $form->form_thirdparty($_SERVER['PHP_SELF'].'?socid='.$socid,null,'socid','client=1',1,0,1);
+ $form->form_thirdparty($_SERVER['PHP_SELF'],null,'socid','client=1 OR client=3',1,0,1);
print ' |
';
}