]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/BookshelfController.php
French translation update
[bookstack] / app / Http / Controllers / BookshelfController.php
index b5565eb5705b0c9a7ea44875153a08ee467ad37f..bef96dd01a6e41c62ec67e97d04437baf760ced4 100644 (file)
@@ -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');