diff --git a/ext/tag_history/theme.php b/ext/tag_history/theme.php index 7f428ff4..93a7c5fe 100644 --- a/ext/tag_history/theme.php +++ b/ext/tag_history/theme.php @@ -135,9 +135,9 @@ class TagHistoryTheme extends Themelet $th = new TagHistory(); $pt = $th->get_previous_tags($image_id, $current_id); if ($pt) { - $previous_tags = Tag::explode($pt["tags"]); + $previous_tags = explode(" ", $pt["tags"]); } - $current_tags = Tag::explode($current_tags); + $current_tags = explode(" ", $current_tags); if ($pt) { $tags = array_unique(array_merge($current_tags, $previous_tags)); sort($tags);