diff options
-rw-r--r-- | application/LinkFilter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/LinkFilter.php b/application/LinkFilter.php index 5e0d8015..e693b284 100644 --- a/application/LinkFilter.php +++ b/application/LinkFilter.php | |||
@@ -322,7 +322,7 @@ class LinkFilter | |||
322 | $tagsOut = $casesensitive ? $tags : mb_convert_case($tags, MB_CASE_LOWER, 'UTF-8'); | 322 | $tagsOut = $casesensitive ? $tags : mb_convert_case($tags, MB_CASE_LOWER, 'UTF-8'); |
323 | $tagsOut = str_replace(',', ' ', $tagsOut); | 323 | $tagsOut = str_replace(',', ' ', $tagsOut); |
324 | 324 | ||
325 | return array_filter(explode(' ', trim($tagsOut)), 'strlen'); | 325 | return array_values(array_filter(explode(' ', trim($tagsOut)), 'strlen')); |
326 | } | 326 | } |
327 | } | 327 | } |
328 | 328 | ||