X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/8b550991a4dbcd7a05e08e8f600b5444d5f4004d..refs/pull/1695/head:/app/Http/Controllers/BookshelfController.php diff --git a/app/Http/Controllers/BookshelfController.php b/app/Http/Controllers/BookshelfController.php index b5565eb57..bef96dd01 100644 --- a/app/Http/Controllers/BookshelfController.php +++ b/app/Http/Controllers/BookshelfController.php @@ -177,7 +177,7 @@ class BookshelfController extends Controller 'image' => $this->imageRepo->getImageValidationRules(), ]); - $shelf = $this->entityRepo->updateFromInput('bookshelf', $shelf, $request->all()); + $shelf = $this->entityRepo->updateFromInput($shelf, $request->all()); $this->shelfUpdateActions($shelf, $request); Activity::add($shelf, 'bookshelf_update');