Skip to content

Commit

Permalink
FIX variable assignement for PHPStan warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lamrani002 committed Mar 14, 2024
1 parent 07fe0f6 commit 21b291a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/expensereport/payment/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,9 @@

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;
Expand Down

0 comments on commit 21b291a

Please sign in to comment.