]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/BookController.php
French translation update
[bookstack] / app / Http / Controllers / BookController.php
index b2fb1dcba56d38ceb4e388e0107e2b11ab7f4cf0..a9a24d2ff519a56a888e66450ba8a5e4c4e9b555 100644 (file)
@@ -199,7 +199,7 @@ class BookController extends Controller
             'image' => $this->imageRepo->getImageValidationRules(),
         ]);
 
-         $book = $this->bookRepo->updateFromInput('book', $book, $request->all());
+         $book = $this->bookRepo->updateFromInput($book, $request->all());
          $this->bookUpdateActions($book, $request);
 
          Activity::add($book, 'book_update', $book->id);