X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FSearch.php;h=09e490e77b051a5465fcf86b4c12c9830afafc84;hb=72a3ab6382551811f22391b7e82e7398628b235b;hp=2c8349364c89fc459a012e58acb3f25a64feb63b;hpb=03038e7a3bb74bdab497d26b7f829a5c3036d1c2;p=friendica.git diff --git a/src/Model/Search.php b/src/Model/Search.php index 2c8349364c..09e490e77b 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; } }