diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-12 08:11:12 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-12 08:11:12 -0700 |
| commit | bcf795f365a263dfbed7ae486a0f3d35ac080686 (patch) | |
| tree | 4132c4210015dbd5dab5da15128d12b280d09481 /modules/gallery/models | |
| parent | 82d61c698e47b7b838b9289a9d86bb275da30abb (diff) | |
| parent | e1b9565232fac63ce63b29c434211ad9763b13ac (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3 into talmdal_dev
Diffstat (limited to 'modules/gallery/models')
| -rw-r--r-- | modules/gallery/models/item.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php index da1f6959..a87997c6 100644 --- a/modules/gallery/models/item.php +++ b/modules/gallery/models/item.php @@ -284,8 +284,8 @@ class Item_Model extends ORM_MPTT { ->where("id <>", 1) ->orderby("left_ptr", "ASC") ->get() as $row) { - $names[] = urlencode($row->name); - $slugs[] = urlencode($row->slug); + $names[] = rawurlencode($row->name); + $slugs[] = rawurlencode($row->slug); } $this->relative_path_cache = implode($names, "/"); $this->relative_url_cache = implode($slugs, "/"); |
