Skip to content

Commit

Permalink
fix(PC): 关闭打赏后动态详情报错的问题
Browse files Browse the repository at this point in the history
issue zhiyicx/plus-component-pc#1122
  • Loading branch information
mutoe committed Nov 26, 2018
1 parent e7831d4 commit 9f31458
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
</div>

{{-- 打賞 --}}
@if($config['bootstrappers']['feed']['reward'] && $user['id'] !== $TS['id'])
@if(($config['bootstrappers']['feed']['reward'] ?? false) && $user['id'] !== $TS['id'])
@include('pcview::widgets.rewards' , [
'rewards_data' => $feed['rewards'],
'rewards_type' => 'feeds',
Expand Down

0 comments on commit 9f31458

Please sign in to comment.