|
|
|
@ -650,7 +650,7 @@ class MarketingStrategyController extends UserBaseController |
|
|
|
|
if(in_array($gift_info['id'], $order_gift_ids)) { |
|
|
|
|
$tmp_row['gifts'][$index]['selected'] = 1; |
|
|
|
|
$tmp_gift = GiftT::findOne('id='.$gift_info['id']); |
|
|
|
|
if($tmp_gift && $tmp_gift->type_id == 1) { |
|
|
|
|
if($tmp_gift && $tmp_gift->type_id == 2) { |
|
|
|
|
$tmp_row['gifts'][$index]['img_src'] = $order_gift_srcs[$gift_info['id']]; |
|
|
|
|
} else { |
|
|
|
|
$tmp_row['gifts'][$index]['img_src'] = ''; |
|
|
|
|