Skip to content

Commit

Permalink
Fix passing null to urldecode in notes controller
Browse files Browse the repository at this point in the history
  • Loading branch information
texnixe authored and lukasbestle committed Dec 12, 2021
1 parent f62d1a3 commit 4885a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/controllers/notes.php
Expand Up @@ -11,7 +11,7 @@
*/
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`
*
Expand Down

0 comments on commit 4885a60

Please sign in to comment.