Fix passing null to urldecode in notes controller
This commit is contained in:
committed by
Lukas Bestle
parent
f62d1a39ca
commit
4885a60c5c
@@ -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`
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user