mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 09:01:40 +01:00
Merge pull request #28838 from lamrani002/FixFk_bank
FIX variable assignement for PHPStan warnings
This commit is contained in:
@@ -517,9 +517,9 @@ while ($i < $imaxinloop) {
|
||||
|
||||
if ($objp->bid) {
|
||||
$accountstatic->fetch($objp->bid);
|
||||
$paymentexpensereportstatic->fk_bank = $accountstatic->getNomUrl(1);
|
||||
$paymentexpensereportstatic->fk_bank = $accountstatic->id;
|
||||
} else {
|
||||
$paymentexpensereportstatic->fk_bank = null;
|
||||
$paymentexpensereportstatic->fk_bank = 0;
|
||||
}
|
||||
|
||||
$userstatic->id = $objp->userid;
|
||||
|
||||
Reference in New Issue
Block a user