]> BookStack Code Mirror - bookstack/blobdiff - resources/views/books/show.blade.php
Fixed name retrieval on missing users and added tests to cover along with some test...
[bookstack] / resources / views / books / show.blade.php
index a9f02aaed714edc6addd0f6910cdeb5459fbe8e9..9a965ccbc8ada02d488594987d311920d9532e68 100644 (file)
@@ -58,7 +58,7 @@
                         <p class="text-muted small">
                             Created {{$book->created_at->diffForHumans()}} @if($book->createdBy) by {{$book->createdBy->name}} @endif
                             <br>
-                            Last Updated {{$book->updated_at->diffForHumans()}} @if($book->createdBy) by {{$book->updatedBy->name}} @endif
+                            Last Updated {{$book->updated_at->diffForHumans()}} @if($book->updatedBy) by {{$book->updatedBy->name}} @endif
                         </p>
                     </div>
                 </div>