]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Search.php
Detection of local requests
[friendica.git] / src / Model / Search.php
index ca8960ef35bc6ec2437a0cc078ceffca441a89a6..b8384e87468593151c2bfc356cf08dde278cf244 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -42,7 +42,7 @@ class Search
                $tags = [];
 
                while ($term = DBA::fetch($termsStmt)) {
-                       $tags[] = trim($term['term'], '#');
+                       $tags[] = trim(mb_strtolower($term['term']), '#');
                }
                DBA::close($termsStmt);
                return $tags;