|
@@ -140,7 +140,7 @@ class goods_summary
|
|
|
$combos = activity_helper::combo_goods($this->goods_id);
|
|
|
}
|
|
|
if(activity_helper::have_gift($this->goods_id)) {
|
|
|
- $gifts = activity_helper::goods_gifts($this->goods_id);
|
|
|
+ $gifts = activity_helper::goods_giftids($this->goods_id);
|
|
|
}
|
|
|
|
|
|
foreach ($this->bundles as $bl_id) {
|
|
@@ -148,9 +148,7 @@ class goods_summary
|
|
|
$bundles = array_merge($bundles,$gids);
|
|
|
}
|
|
|
|
|
|
- $ret = array_merge($combos,$gifts);
|
|
|
- $ret = array_merge($ret,$bundles);
|
|
|
-
|
|
|
+ $ret = array_merge($combos,$gifts,$bundles);
|
|
|
return array_unique($ret);
|
|
|
}
|
|
|
}
|