rabin hai 7 meses
pai
achega
1261cdcf1d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/dai/seller/lib/Order.php

+ 1 - 1
src/dai/seller/lib/Order.php

@@ -259,7 +259,7 @@ class Order
         }
 
         $info = Dever::db('info', 'seller')->find($seller_id);
-        if ($seller_goods && $seller_goods['discount'] > 0) {
+        if ($seller_goods && $seller_goods['discount']) {
             $info['discount'] = $seller_goods['discount'];
         }
         if (!$info['discount']) {