From 95a15ae6f99e18ee88e2ef3e30e419a7fbf0ea76 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Mon, 16 Oct 2023 13:13:32 +0200 Subject: [PATCH] FIX #26195 - Various payment - List of project excluded those assigned to third parties (#26222) --- htdocs/compta/bank/various_payment/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/bank/various_payment/card.php b/htdocs/compta/bank/various_payment/card.php index a2c6c2b21ae..5ca1b0d4d40 100644 --- a/htdocs/compta/bank/various_payment/card.php +++ b/htdocs/compta/bank/various_payment/card.php @@ -570,7 +570,7 @@ if ($id) { $morehtmlref .= '
'; $morehtmlref .= ''; $morehtmlref .= ''; - $morehtmlref .= $formproject->select_projects(0, $object->fk_project, 'projectid', $maxlength, 0, 1, 0, 1, 0, 0, '', 1); + $morehtmlref .= $formproject->select_projects(-1, $object->fk_project, 'projectid', 0, 0, 1, 0, 1, 0, 0, '', 1); $morehtmlref .= ''; $morehtmlref .= '
'; } else {