aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/controller/admin/ThumbnailsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/front/controller/admin/ThumbnailsController.php')
-rw-r--r--application/front/controller/admin/ThumbnailsController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/front/controller/admin/ThumbnailsController.php b/application/front/controller/admin/ThumbnailsController.php
index 94d97d4b..5dfea096 100644
--- a/application/front/controller/admin/ThumbnailsController.php
+++ b/application/front/controller/admin/ThumbnailsController.php
@@ -22,7 +22,7 @@ class ThumbnailsController extends ShaarliAdminController
22 public function index(Request $request, Response $response): Response 22 public function index(Request $request, Response $response): Response
23 { 23 {
24 $ids = []; 24 $ids = [];
25 foreach ($this->container->bookmarkService->search() as $bookmark) { 25 foreach ($this->container->bookmarkService->search()->getBookmarks() as $bookmark) {
26 // A note or not HTTP(S) 26 // A note or not HTTP(S)
27 if ($bookmark->isNote() || !startsWith(strtolower($bookmark->getUrl()), 'http')) { 27 if ($bookmark->isNote() || !startsWith(strtolower($bookmark->getUrl()), 'http')) {
28 continue; 28 continue;