summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/MY_url.php
diff options
context:
space:
mode:
authorRomain LE DISEZ <romain.git@ledisez.net>2009-06-25 08:16:35 +0200
committerRomain LE DISEZ <romain.git@ledisez.net>2009-06-25 08:16:35 +0200
commit6345fcede7493010ab78239c3e775d16c2f41458 (patch)
tree3bcdf7732386e2026a9c52688f303dd6fdffbfa5 /modules/gallery/helpers/MY_url.php
parentbe354ab98bbb08abad0a7efd6fb1d110e11381de (diff)
parentec67300f9628582bf735468c73aec3c01a6eb57f (diff)
Merge commit 'upstream/master'
Diffstat (limited to 'modules/gallery/helpers/MY_url.php')
-rw-r--r--modules/gallery/helpers/MY_url.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/MY_url.php b/modules/gallery/helpers/MY_url.php
index 7bee70ca..c4967c52 100644
--- a/modules/gallery/helpers/MY_url.php
+++ b/modules/gallery/helpers/MY_url.php
@@ -58,7 +58,7 @@ class url extends url_Core {
* Return the item that the uri is referencing
*/
static function get_item_from_uri($uri) {
- $current_uri = html_entity_decode($uri);
+ $current_uri = html_entity_decode($uri, ENT_QUOTES);
$item = ORM::factory("item")->where("relative_path_cache", $current_uri)->find();
if (!$item->loaded) {
// It's possible that the relative path cache for the item we're looking for is out of date,