X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FSearch.php;h=b8384e87468593151c2bfc356cf08dde278cf244;hb=f1d3f60499a325557be866fedd31b46093d477ae;hp=2c8349364c89fc459a012e58acb3f25a64feb63b;hpb=388b963714895b6aee59648084fe4a66a0964efc;p=friendica.git diff --git a/src/Model/Search.php b/src/Model/Search.php index 2c8349364c..b8384e8746 100644 --- a/src/Model/Search.php +++ b/src/Model/Search.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Model; @@ -23,9 +42,9 @@ class Search $tags = []; while ($term = DBA::fetch($termsStmt)) { - $tags[] = trim($term['term'], '#'); + $tags[] = trim(mb_strtolower($term['term']), '#'); } - + DBA::close($termsStmt); return $tags; } }