summaryrefslogtreecommitdiff
path: root/modules/tag/models
diff options
context:
space:
mode:
authormamouneyya <mamoun.diraneyya@gmail.com>2011-03-26 13:15:12 +0200
committermamouneyya <mamoun.diraneyya@gmail.com>2011-03-26 13:15:12 +0200
commit9c784a740a6fe5849c465e0ebd2e1a197d281bf9 (patch)
tree312cbe8b1a1b1a499521e5cdd6045770efeda5e0 /modules/tag/models
parent5a966e40831da1d113b126dafb9a2112b637211b (diff)
parente4d4a89a1bd54164fb62d95ac62a44957d124e68 (diff)
Merge remote-tracking branch 'gallery3/master'
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 53ccc856..479a7da0 100644
--- a/modules/tag/models/tag.php
+++ b/modules/tag/models/tag.php
@@ -132,7 +132,7 @@ class Tag_Model_Core extends ORM {
* @param string $query the query string (eg "page=3")
*/
public function url($query=null) {
- $url = url::site("tag/{$this->name}");
+ $url = url::site("tag/{$this->id}/{$this->name}");
if ($query) {
$url .= "?$query";
}