diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-05-17 11:06:39 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 69e29ff65ef56b886748c58ba5b037cf217c4a1d (patch) | |
tree | ab27ad9100bc72cb3c9417b623776bc8cfa6d421 /application/bookmark | |
parent | 60ae241251b753fc052e50ebd95277dfcb074cb0 (diff) | |
download | Shaarli-69e29ff65ef56b886748c58ba5b037cf217c4a1d.tar.gz Shaarli-69e29ff65ef56b886748c58ba5b037cf217c4a1d.tar.zst Shaarli-69e29ff65ef56b886748c58ba5b037cf217c4a1d.zip |
Process daily page through Slim controller
Diffstat (limited to 'application/bookmark')
-rw-r--r-- | application/bookmark/BookmarkFilter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/bookmark/BookmarkFilter.php b/application/bookmark/BookmarkFilter.php index fd556679..797a36b8 100644 --- a/application/bookmark/BookmarkFilter.php +++ b/application/bookmark/BookmarkFilter.php | |||
@@ -436,7 +436,7 @@ class BookmarkFilter | |||
436 | throw new Exception('Invalid date format'); | 436 | throw new Exception('Invalid date format'); |
437 | } | 437 | } |
438 | 438 | ||
439 | $filtered = array(); | 439 | $filtered = []; |
440 | foreach ($this->bookmarks as $key => $l) { | 440 | foreach ($this->bookmarks as $key => $l) { |
441 | if ($l->getCreated()->format('Ymd') == $day) { | 441 | if ($l->getCreated()->format('Ymd') == $day) { |
442 | $filtered[$key] = $l; | 442 | $filtered[$key] = $l; |