正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -86,10 +86,10 @@ class RankDataController extends BaseController | @@ -86,10 +86,10 @@ class RankDataController extends BaseController | ||
| 86 | foreach ($item['position'] as $date => $position){ | 86 | foreach ($item['position'] as $date => $position){ |
| 87 | $item[$date] = $position; | 87 | $item[$date] = $position; |
| 88 | } | 88 | } |
| 89 | - if(isset($item['img_position'])){ | 89 | + if(!empty($item['img_position'])){ |
| 90 | $img_position = true; | 90 | $img_position = true; |
| 91 | } | 91 | } |
| 92 | - if(isset($item['video_position'])){ | 92 | + if(!empty($item['video_position'])){ |
| 93 | $video_position = true; | 93 | $video_position = true; |
| 94 | } | 94 | } |
| 95 | } | 95 | } |
-
请 注册 或 登录 后发表评论