diff options
Diffstat (limited to 'core/helpers/MY_url.php')
-rw-r--r-- | core/helpers/MY_url.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/MY_url.php b/core/helpers/MY_url.php index e2dc0219..81dcbe1e 100644 --- a/core/helpers/MY_url.php +++ b/core/helpers/MY_url.php @@ -28,7 +28,7 @@ class url extends url_Core { $parts = explode("/", $uri, 3); if ($parts[0] == "albums" || $parts[0] == "photos") { - $uri = ORM::factory("item", $parts[1])->relative_path(); + $uri = model_cache::get("item", $parts[1])->relative_path(); } return parent::site($uri . $query, $protocol); } |