Showing
1 changed file
with
2 additions
and
2 deletions
@@ -40,11 +40,11 @@ class CartData | @@ -40,11 +40,11 @@ class CartData | ||
40 | $param['selected'] = 'Y'; | 40 | $param['selected'] = 'Y'; |
41 | $param['promotion_id'] = $promotionId; | 41 | $param['promotion_id'] = $promotionId; |
42 | 42 | ||
43 | - if ($uid !== null) { | 43 | + if (!empty($uid)) { |
44 | $param['uid'] = $uid; | 44 | $param['uid'] = $uid; |
45 | } | 45 | } |
46 | if ($shoppingKey !== null) { | 46 | if ($shoppingKey !== null) { |
47 | - $param['shoppingKey'] = $shoppingKey; | 47 | + $param['shopping_key'] = $shoppingKey; |
48 | } | 48 | } |
49 | $param['client_secret'] = Sign::getSign($param); | 49 | $param['client_secret'] = Sign::getSign($param); |
50 | 50 |
-
Please register or login to post a comment