summaryrefslogtreecommitdiff
path: root/modules/tag/models
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-09-12 10:57:41 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-09-12 10:57:41 -0700
commitbd532f6c88ef54bd47c9b1af46bc8d2c80d4407b (patch)
tree7522d38320d6466ac400a97ace5ba3b2d37048fd /modules/tag/models
parentac64614d4da7174c085f257f3b8e39aa7afa9eb5 (diff)
parentf84c4a6192ea0e47ca5b2006baa0bfd7e09a682c (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/tag/models')
-rw-r--r--modules/tag/models/tag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/models/tag.php b/modules/tag/models/tag.php
index e8bd69c5..269a0f39 100644
--- a/modules/tag/models/tag.php
+++ b/modules/tag/models/tag.php
@@ -124,7 +124,7 @@ class Tag_Model extends ORM {
* @param string $query the query string (eg "page=3")
*/
public function url($query=null) {
- $url = url::site("tags/show/$this->id");
+ $url = url::site("tag/{$this->name}");
if ($query) {
$url .= "?$query";
}