Permalink
Browse files

fix(core): remove duplicate tags upon input

  • Loading branch information...
bruno-infotrad committed Apr 1, 2016
1 parent 7a2ef60 commit 096cf4b8b0cb7be801490d9c2cb983b5580c771b
Showing with 1 addition and 0 deletions.
  1. +1 −0 engine/lib/tags.php
View
@@ -24,6 +24,7 @@ function string_to_tag_array($string) {
$ar = array_map('trim', $ar);
$ar = array_filter($ar, 'is_not_null');
$ar = array_map('strip_tags', $ar);
+ $ar = array_unique($ar);
return $ar;
}

0 comments on commit 096cf4b

Please sign in to comment.