Fix passing null to urldecode in notes controller

This commit is contained in:
Sonja Broda
2021-12-10 12:45:40 +01:00
committed by Lukas Bestle
parent f62d1a39ca
commit 4885a60c5c

View File

@@ -11,7 +11,7 @@
*/ */
return function ($page) { return function ($page) {
$tag = urldecode(param('tag')); $tag = urldecode(param('tag') ?? '');
/** /**
* We use the collection helper to fetch the notes collection defined in `/site/collections/notes.php` * We use the collection helper to fetch the notes collection defined in `/site/collections/notes.php`
* *