]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
Merge pull request #11224 from annando/statistics-separator
[friendica.git] / mod / tagger.php
index 4afe6efb67a9115b9c0714bc3f464eaa0e460284..310e3c6140347851bd3f59ff75186a49d8da1593 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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);