From 27acc17eac9ecca49a1aaeaf5bd3b5f27ac9b28e Mon Sep 17 00:00:00 2001 From: Lukas Bestle Date: Sat, 20 Aug 2022 18:09:56 +0200 Subject: [PATCH] Remove unneeded processing --- site/controllers/notes.php | 2 +- site/templates/about.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/controllers/notes.php b/site/controllers/notes.php index 86696ac..c3c2323 100644 --- a/site/controllers/notes.php +++ b/site/controllers/notes.php @@ -11,7 +11,6 @@ */ return function ($page) { - $tag = urldecode(param('tag') ?? ''); /** * We use the collection helper to fetch the notes collection defined in `/site/collections/notes.php` * @@ -20,6 +19,7 @@ return function ($page) { */ $notes = collection('notes'); + $tag = param('tag'); if (empty($tag) === false) { $notes = $notes->filterBy('tags', $tag, ','); } diff --git a/site/templates/about.php b/site/templates/about.php index f09fbf2..cd7bc1b 100644 --- a/site/templates/about.php +++ b/site/templates/about.php @@ -29,7 +29,7 @@

Address

- address()->kt() ?> + address() ?>

Email