mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Removed use of book_id in activity
This commit is contained in:
@ -75,7 +75,7 @@ class BookSortController extends Controller
|
||||
|
||||
// Rebuild permissions and add activity for involved books.
|
||||
$booksInvolved->each(function (Book $book) {
|
||||
Activity::add($book, ActivityType::BOOK_SORT, $book->id);
|
||||
Activity::addForEntity($book, ActivityType::BOOK_SORT);
|
||||
});
|
||||
|
||||
return redirect($book->getUrl());
|
||||
|
Reference in New Issue
Block a user