diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-04-21 15:43:48 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-04-21 15:43:48 -0700 |
commit | 8cf066b838a98ace3cfa81e02ccc7a8570d1ba7f (patch) | |
tree | e2673795b79aa3b5e850d7b39aebddba3abc26a7 /modules | |
parent | 5bc0da365221eea08b1525d4cf71371853aa4d15 (diff) |
Use Tag_Model::url() instead of hand creating tag urls, since the API
changed and that broke. Fixe #1680.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/tag/helpers/tag_event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_event.php b/modules/tag/helpers/tag_event.php index df81ae65..b415b42d 100644 --- a/modules/tag/helpers/tag_event.php +++ b/modules/tag/helpers/tag_event.php @@ -149,7 +149,7 @@ class tag_event_Core { static function info_block_get_metadata($block, $item) { $tags = array(); foreach (tag::item_tags($item) as $tag) { - $tags[] = "<a href=\"" . url::site("tag/{$tag->name}") . "\">{$tag->name}</a>"; + $tags[] = "<a href=\"{$tag->url()}\">{$tag->name}</a>"; } if ($tags) { $info = $block->content->metadata; |