]>
BookStack Code Mirror - bookstack/blobdiff - app/Entities/Repos/BookshelfRepo.php
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Perms: Fixed some issues made when adding transactions
[bookstack]
/
app
/
Entities
/
Repos
/
BookshelfRepo.php
diff --git
a/app/Entities/Repos/BookshelfRepo.php
b/app/Entities/Repos/BookshelfRepo.php
index 5d4d604bc309afdbc08c3a04864f1158fb14f87a..8e60f58c42f0c4d1c735b90fe41b962e32347765 100644
(file)
--- a/
app/Entities/Repos/BookshelfRepo.php
+++ b/
app/Entities/Repos/BookshelfRepo.php
@@
-30,6
+30,7
@@
class BookshelfRepo
$this->baseRepo->updateCoverImage($shelf, $input['image'] ?? null);
$this->updateBooks($shelf, $bookIds);
Activity::add(ActivityType::BOOKSHELF_CREATE, $shelf);
+ return $shelf;
}))->run();
}