diff --git a/htdocs/fourn/facture/card-rec.php b/htdocs/fourn/facture/card-rec.php
index 919703ce0c4..d84456c97c3 100644
--- a/htdocs/fourn/facture/card-rec.php
+++ b/htdocs/fourn/facture/card-rec.php
@@ -1005,9 +1005,6 @@ if ($action == 'create') {
$projectid = GETPOST('projectid') ? GETPOST('projectid') : $object->fk_project;
$langs->load('projects');
print '
| ' . $langs->trans('Project') . ' | ';
- // Mirror the regular supplier invoice card.php: honour PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS
- // (so projects unrelated to this supplier can be picked when the constant is set) and exclude
- // closed projects from the dropdown (see issue #31135).
$numprojet = $formproject->select_projects((!getDolGlobalString('PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS') ? $object->thirdparty->id : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 0, 0, '');
print ' thirdparty->id . (!empty($id) ? '&id=' . $id : '')) . '">' . $langs->trans("AddProject") . '';
print ' |
';
@@ -1199,9 +1196,6 @@ if ($action == 'create') {
$morehtmlref .= '';