]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
33ef1cd
)
Fix for missing cover on create new shelf
1899/head
author
TBK
<redacted>
Fri, 14 Feb 2020 19:33:07 +0000
(20:33 +0100)
committer
TBK
<redacted>
Fri, 14 Feb 2020 19:33:07 +0000
(20:33 +0100)
app/Http/Controllers/BookshelfController.php
patch
|
blob
|
history
diff --git
a/app/Http/Controllers/BookshelfController.php
b/app/Http/Controllers/BookshelfController.php
index 57e67dc00e618b53fec9b16eec134242422dd8af..c882ca7c32cf0521053d0afd84d48ab02b1ff7cf 100644
(file)
--- a/
app/Http/Controllers/BookshelfController.php
+++ b/
app/Http/Controllers/BookshelfController.php
@@
-90,7
+90,7
@@
class BookshelfController extends Controller
$bookIds = explode(',', $request->get('books', ''));
$shelf = $this->bookshelfRepo->create($request->all(), $bookIds);
- $this->bookshelfRepo->updateCoverImage($shelf);
+ $this->bookshelfRepo->updateCoverImage($shelf
, $request->file('image', null)
);
Activity::add($shelf, 'bookshelf_create');
return redirect($shelf->getUrl());
hide
Morty Proxy
This is a
proxified and sanitized
view of the page, visit
original site
.