aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/controller
diff options
context:
space:
mode:
Diffstat (limited to 'application/front/controller')
-rw-r--r--application/front/controller/visitor/BookmarkListController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/front/controller/visitor/BookmarkListController.php b/application/front/controller/visitor/BookmarkListController.php
index 321ca813..4aae2652 100644
--- a/application/front/controller/visitor/BookmarkListController.php
+++ b/application/front/controller/visitor/BookmarkListController.php
@@ -33,6 +33,7 @@ class BookmarkListController extends ShaarliVisitorController
33 33
34 $formatter = $this->container->formatterFactory->getFormatter(); 34 $formatter = $this->container->formatterFactory->getFormatter();
35 $formatter->addContextData('base_path', $this->container->basePath); 35 $formatter->addContextData('base_path', $this->container->basePath);
36 $formatter->addContextData('index_url', index_url($this->container->environment));
36 37
37 $searchTags = normalize_spaces($request->getParam('searchtags') ?? ''); 38 $searchTags = normalize_spaces($request->getParam('searchtags') ?? '');
38 $searchTerm = escape(normalize_spaces($request->getParam('searchterm') ?? '')); 39 $searchTerm = escape(normalize_spaces($request->getParam('searchterm') ?? ''));
@@ -138,6 +139,7 @@ class BookmarkListController extends ShaarliVisitorController
138 139
139 $formatter = $this->container->formatterFactory->getFormatter(); 140 $formatter = $this->container->formatterFactory->getFormatter();
140 $formatter->addContextData('base_path', $this->container->basePath); 141 $formatter->addContextData('base_path', $this->container->basePath);
142 $formatter->addContextData('index_url', index_url($this->container->environment));
141 143
142 $data = array_merge( 144 $data = array_merge(
143 $this->initializeTemplateVars(), 145 $this->initializeTemplateVars(),