aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/bookmark/BookmarkFileService.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-06 14:11:02 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-06 14:11:02 +0200
commit27ddfec3c3847f10ab0de246f4a174b751c5f19e (patch)
tree9fb085dd6f83ad73743950ca0de1549f28eeeef5 /application/bookmark/BookmarkFileService.php
parent21163a3329ef19dc6ebadb75d6452ac02fd59ab3 (diff)
downloadShaarli-27ddfec3c3847f10ab0de246f4a174b751c5f19e.tar.gz
Shaarli-27ddfec3c3847f10ab0de246f4a174b751c5f19e.tar.zst
Shaarli-27ddfec3c3847f10ab0de246f4a174b751c5f19e.zip
Fix visibility issue on daily page
This filter (links by day) didn't apply any visibility parameter. Fixes #1543
Diffstat (limited to 'application/bookmark/BookmarkFileService.php')
-rw-r--r--application/bookmark/BookmarkFileService.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/bookmark/BookmarkFileService.php b/application/bookmark/BookmarkFileService.php
index e3a61146..c9ec2609 100644
--- a/application/bookmark/BookmarkFileService.php
+++ b/application/bookmark/BookmarkFileService.php
@@ -362,7 +362,9 @@ class BookmarkFileService implements BookmarkServiceInterface
362 */ 362 */
363 public function filterDay($request) 363 public function filterDay($request)
364 { 364 {
365 return $this->bookmarkFilter->filter(BookmarkFilter::$FILTER_DAY, $request); 365 $visibility = $this->isLoggedIn ? BookmarkFilter::$ALL : BookmarkFilter::$PUBLIC;
366
367 return $this->bookmarkFilter->filter(BookmarkFilter::$FILTER_DAY, $request, false, $visibility);
366 } 368 }
367 369
368 /** 370 /**