dever %!s(int64=3) %!d(string=hai) anos
pai
achega
db5450298e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      app/shop/lib/Sell.php

+ 2 - 0
app/shop/lib/Sell.php

@@ -882,9 +882,11 @@ class Sell
                             $discount_goods = array_keys($discount_goods);
                             if (in_array($data['list'][$k]['id'], $discount_goods)) {
                                 $role_set = $rv;
+                                break;
                             }
                         } elseif ($rv['category'] && in_array($data['list'][$k]['top_category_id'], $rv['category'])) {
                             $role_set = $rv;
+                            break;
                         }
                     }