]>
BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/SearchController.php
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change check to verify that request is present and contains a file
[bookstack]
/
app
/
Http
/
Controllers
/
SearchController.php
diff --git
a/app/Http/Controllers/SearchController.php
b/app/Http/Controllers/SearchController.php
index a5cd7ad6b82224f094173f1d76b2d4a864b48174..a5d57741d5295d9a315ba190c3dec2e9a57a3cc6 100644
(file)
--- a/
app/Http/Controllers/SearchController.php
+++ b/
app/Http/Controllers/SearchController.php
@@
-109,7
+109,7
@@
class SearchController extends Controller
// Page in chapter
if ($entity->isA('page') && $entity->chapter) {
- $entities = $entity->chapter->
v
isiblePages();
+ $entities = $entity->chapter->
getV
isiblePages();
}
// Page in book or chapter