Merge pull request #28838 from lamrani002/FixFk_bank
FIX variable assignement for PHPStan warnings
This commit is contained in:
commit
8a37c7dcb0
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue