From 340a5055a561785be3a0e85ef9ee970b111cec52 Mon Sep 17 00:00:00 2001 From: Henning Leutz <leutz@pcsg.de> Date: Mon, 6 Sep 2021 13:14:39 +0200 Subject: [PATCH] fix: pcsg/kunden/froilein-adrett-template#106 --- src/QUI/ERP/Discount/Discount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QUI/ERP/Discount/Discount.php b/src/QUI/ERP/Discount/Discount.php index bfbaf77..a0be90c 100644 --- a/src/QUI/ERP/Discount/Discount.php +++ b/src/QUI/ERP/Discount/Discount.php @@ -396,7 +396,7 @@ public function canUsedWith(QUI\ERP\Products\Interfaces\ProductInterface $Produc } // category check - if (empty($articles) && empty($categories)) { + if (empty($categories)) { return true; } -- GitLab