]> BookStack Code Mirror - bookstack/blobdiff - resources/views/chapters/show.blade.php
Fixed name retrieval on missing users and added tests to cover along with some test...
[bookstack] / resources / views / chapters / show.blade.php
index 75ae6bf65d938dea6914c35db589b3ec2b128ed4..9421bbe18bcce6668a108c31865841db576d27cb 100644 (file)
@@ -56,7 +56,7 @@
                 <p class="text-muted small">
                     Created {{$chapter->created_at->diffForHumans()}} @if($chapter->createdBy) by {{$chapter->createdBy->name}} @endif
                     <br>
-                    Last Updated {{$chapter->updated_at->diffForHumans()}} @if($chapter->createdBy) by {{$chapter->updatedBy->name}} @endif
+                    Last Updated {{$chapter->updated_at->diffForHumans()}} @if($chapter->updatedBy) by {{$chapter->updatedBy->name}} @endif
                 </p>
             </div>
             <div class="col-md-3 col-md-offset-1">