Commit b629db17 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ws_ticker' into 'master'

fix See merge request !146
parents 45fae9e1 fb55406b
...@@ -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