From 74428a28e5a9297be4c6c18eb4a8a3b5e89cca45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Werner=20Krau=C3=9F?= Date: Mon, 26 Feb 2024 13:37:07 +0100 Subject: [PATCH] update Amount getter See https://github.com/silvershop/silvershop-core/pull/814 ; was removed there --- src/Model/Modifiers/OrderDiscountModifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Modifiers/OrderDiscountModifier.php b/src/Model/Modifiers/OrderDiscountModifier.php index 92edcda..5f15c7d 100644 --- a/src/Model/Modifiers/OrderDiscountModifier.php +++ b/src/Model/Modifiers/OrderDiscountModifier.php @@ -103,6 +103,6 @@ public function getUsedCodes() public function ShowInTable() { - return $this->Amount() > 0; + return $this->Amount > 0; } }