Commit fb55406b authored by shajiaiming's avatar shajiaiming

fix

parent 0f9ddfe6
...@@ -100,7 +100,7 @@ class CoinApplication extends BaseActiveRecord ...@@ -100,7 +100,7 @@ class CoinApplication extends BaseActiveRecord
$recommendItems = CoinApplicateRecommend::getRecommendItemsByType(2); $recommendItems = CoinApplicateRecommend::getRecommendItemsByType(2);
foreach($data as $key => &$value){ foreach($data as $key => &$value){
if($value['icon']){ if($value['icon']){
$value['icon_url'] = $icon_Infos[$value['icon']]['base_url'].$icon_Infos[$value['icon']]['file_url']; $value['icon_url'] = isset($icon_Infos[$value['icon']]) ? $icon_Infos[$value['icon']]['base_url'].$icon_Infos[$value['icon']]['file_url'] : '';
}else{ }else{
$value['icon_url'] = ''; $value['icon_url'] = '';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment