From ebeb73a509787db0810b0303ef858b8e8a09c975 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 29 Apr 2025 08:36:42 +0200 Subject: [PATCH] Update paymentok.php --- htdocs/public/payment/paymentok.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/public/payment/paymentok.php b/htdocs/public/payment/paymentok.php index 5e7641c687f..29331654304 100644 --- a/htdocs/public/payment/paymentok.php +++ b/htdocs/public/payment/paymentok.php @@ -1265,7 +1265,7 @@ if ($ispaymentok) { $ispostactionok = 1; if ($totalpaid >= $don->getRemainToPay()) { - $don->valid_promesse($don->id, $user->id); /** @phan-suppress-current-line PhanSuspiciousParamOrder */ + $don->valid_promesse($don->id, $user->id); /** @phan-suppress-current-line PhanPluginSuspiciousParamPosition */ $don->setPaid($don->id); } }