shish 8 miesięcy temu
rodzic
commit
15e116c873
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      common/components/rabbitmq/notifyConsumer.php

+ 1 - 1
common/components/rabbitmq/notifyConsumer.php

@@ -71,7 +71,7 @@ class notifyConsumer implements ConsumerInterface
     private function ghsNewOrderNotify($data)
     {
         $orderId = $data['orderId'] ?? 0;
-        if (!empty($orderId)) {
+        if (empty($orderId)) {
             return false;
         }
         $order = OrderClass::getById($orderId, true);