Skip to content
Browse files

Merge pull request #61 from cosmocode/master

tags are sometimes listet multiple times on topic view
  • Loading branch information...
2 parents 91152a4 + e001580 commit a058f927d9cd306a8dcc1ba451ddbc013d52ac4f @michitux michitux committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 helper.php
View
1 helper.php
@@ -195,6 +195,7 @@ function getTopic($ns = '', $num = NULL, $tag = '') {
$tags = $meta['subject'];
$date = ($this->sort == 'mdate' ? $meta['date']['modified'] : $meta['date']['created'] );
if (!is_array($tags)) $tags = explode(' ', $tags);
+ $tags = array_unique($tags);
$taglinks = $this->tagLinks($tags);
// determine the sort key

0 comments on commit a058f92

Please sign in to comment.
Something went wrong with that request. Please try again.