diff options
| author | Chad Parry <github@chad.parry.org> | 2011-04-22 14:10:42 -0600 |
|---|---|---|
| committer | Chad Parry <github@chad.parry.org> | 2011-04-22 14:10:42 -0600 |
| commit | 944cb72eea946f4c45a04b7e4c7c33929fa8b9f3 (patch) | |
| tree | 5bce3f7d88df65b0c26cab24807ce287f8607e6b /modules/tag/models | |
| parent | 567522bfa08c370bb5baf8454afc5b04bc9e49b4 (diff) | |
| parent | 5af74d4714005c565fc9550dbf1f0689c18429a7 (diff) | |
Merge remote branch 'origin/master' into rawphoto
Diffstat (limited to 'modules/tag/models')
| -rw-r--r-- | modules/tag/models/tag.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/models/tag.php b/modules/tag/models/tag.php index 479a7da0..bd665667 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->id}/{$this->name}"); + $url = url::site("tag/{$this->id}/" . urlencode($this->name)); if ($query) { $url .= "?$query"; } |
