Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
This commit is contained in:
@@ -41,7 +41,7 @@ function tagger_content(App $a) {
|
||||
return;
|
||||
}
|
||||
|
||||
$term = trim($_GET['term']);
|
||||
$term = trim($_GET['term'] ?? '');
|
||||
// no commas allowed
|
||||
$term = str_replace([',',' ', '<', '>'],['','_', '', ''], $term);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user