Skip to content

Commit

Permalink
fixing up the tag cloud so it will auto generat the urls better
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Jul 7, 2012
1 parent f628c5d commit 9815b4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Core/Contents/View/Helper/TagCloudHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ public function display($tags = null, $options = array()) {
'maxSize' => 160,
'minSize' => 80,
'url' => array(
'plugin' => $this->request->params['plugin'],
'action' => 'index'
),
'named' => 'by'
);
$options = array_merge($defaults, $options);
$options = array_merge($defaults, array_filter($options));

$weights = Set::extract($options['extract'], $tags);
$maxWeight = $minWeight = 1;
Expand Down

0 comments on commit 9815b4d

Please sign in to comment.