Browse Source

add repeat option to n元任选

stanley-king 7 năm trước cách đây
mục cha
commit
86926c7897
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      helper/activity/optional_goods.php

+ 1 - 1
helper/activity/optional_goods.php

@@ -264,7 +264,7 @@ class optional_goods
 
         $reserved = $items['reserved'];
         $params = preg_split("/#/",$reserved);
-        if(count($params) == 4)
+        if(count($params) == 5)
         {
             $price   = intval($params[0] * 100 + 0.5);
             $options = intval($params[1]);