Skip to content

Commit

Permalink
update Amount getter
Browse files Browse the repository at this point in the history
See silvershop/silvershop-core#814 ; was removed there
  • Loading branch information
wernerkrauss committed Feb 26, 2024
1 parent 5ad7688 commit 74428a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Modifiers/OrderDiscountModifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ public function getUsedCodes()

public function ShowInTable()
{
return $this->Amount() > 0;
return $this->Amount > 0;
}
}

0 comments on commit 74428a2

Please sign in to comment.