Explorar el Código

add repeat option to n元任选

stanley-king hace 7 años
padre
commit
86926c7897
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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]);