diff --git a/application/LinkFilter.php b/application/LinkFilter.php index 5e0d801..e693b28 100644 --- a/application/LinkFilter.php +++ b/application/LinkFilter.php @@ -322,7 +322,7 @@ class LinkFilter $tagsOut = $casesensitive ? $tags : mb_convert_case($tags, MB_CASE_LOWER, 'UTF-8'); $tagsOut = str_replace(',', ' ', $tagsOut); - return array_filter(explode(' ', trim($tagsOut)), 'strlen'); + return array_values(array_filter(explode(' ', trim($tagsOut)), 'strlen')); } }