Skip to content

Commit

Permalink
removed strlen again from if check
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudIO committed Mar 2, 2025
1 parent ecf6ca2 commit 06c467a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DonatedItemEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
$iBuyer = 0;
}
// New DonatedItem or deposit
if (strlen($iDonatedItemID) < 1) {
if ($iDonatedItemID < 1) {
$donatedItem = new DonatedItem();
$donatedItem
->setFrId($iCurrentFundraiser)
Expand Down

0 comments on commit 06c467a

Please sign in to comment.