diff --git a/src/EventSubscriber/SlackNotifySubscriber.php b/src/EventSubscriber/SlackNotifySubscriber.php index f546ee3..ddf2bb6 100644 --- a/src/EventSubscriber/SlackNotifySubscriber.php +++ b/src/EventSubscriber/SlackNotifySubscriber.php @@ -69,9 +69,9 @@ class SlackNotifySubscriber implements EventSubscriberInterface ]); $msg = "Bestellung {$order->getOrderId()}: \n"; - ($item['marke'] ?: $msg .= $item['marke'] . '-'); + $msg .= $item['marke'] . '-'; $msg .= $item['name']; - ($item['han'] ?: $msg .= '-' . $item['han']); + $msg .= '-' . $item['han']; $msg .= ' - *' . $item['menge'] . "* \n"; if ($order->getStatus() == 1) {