mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
fix bug in news when user is delete
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4 class="card-title news-title">{{$n->title}}</h4>
|
||||
<p class="category">{{$n->user->fullname()}} - {{$n->created_at}}
|
||||
<p class="category">@if($n->user){{$n->user->fullname()}} -@endif {{$n->created_at}}
|
||||
<div class="news-tags">
|
||||
@if($n->tags != [])
|
||||
@foreach($n->tags as $tag)
|
||||
|
||||
Reference in New Issue
Block a user