aboutsummaryrefslogtreecommitdiffstats
path: root/tags.php
diff options
context:
space:
mode:
Diffstat (limited to 'tags.php')
-rw-r--r--tags.php23
1 files changed, 13 insertions, 10 deletions
diff --git a/tags.php b/tags.php
index 8ed0e36c6..131a68efd 100644
--- a/tags.php
+++ b/tags.php
@@ -91,16 +91,19 @@ foreach ($tags as $tag)
{
$template->assign_block_vars(
'tag',
- array(
- 'URL' => make_index_url(
- array(
- 'tags' => array($tag),
- )
- ),
-
- 'NAME' => $tag['name'],
- 'TITLE' => $tag['counter'],
- 'CLASS' => 'tagLevel'.$tag['level'],
+ array_merge(
+ $tag,
+ array(
+ 'URL' => make_index_url(
+ array(
+ 'tags' => array($tag),
+ )
+ ),
+
+ 'NAME' => $tag['name'],
+ 'TITLE' => $tag['counter'],
+ 'CLASS' => 'tagLevel'.$tag['level'],
+ )
)
);
}