diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php
index 8a2c602a3f0..180dbcddb30 100644
--- a/htdocs/comm/action/card.php
+++ b/htdocs/comm/action/card.php
@@ -678,7 +678,7 @@ if ($action == 'create')
$listofuserid=dol_json_decode($_SESSION['assignedtouser'], true);
}
}
- print $form->select_dolusers_forevent(($action=='create'?'add':'update'),'assignedtouser',1);
+ print $form->select_dolusers_forevent(($action=='create'?'add':'update'), 'assignedtouser', 1, '', 0, '', '', 0, 0, 0, 'AND u.statut != 0');
if (in_array($user->id,array_keys($listofuserid))) print $langs->trans("MyAvailability").': '.$langs->trans("Busy");
print '';
@@ -925,7 +925,7 @@ if ($id > 0)
$listofuserid=dol_json_decode($_SESSION['assignedtouser'], true);
}
}
- print $form->select_dolusers_forevent(($action=='create'?'add':'update'),'assignedtouser',1);
+ print $form->select_dolusers_forevent(($action=='create'?'add':'update'), 'assignedtouser', 1, '', 0, '', '', 0, 0, 0, 'AND u.statut != 0');
if (in_array($user->id,array_keys($listofuserid))) print $langs->trans("MyAvailability").': id]['transparency']?' checked="checked"':'').'">'.$langs->trans("Busy");
print '';