diff options
Diffstat (limited to 'core/controllers/photos.php')
-rw-r--r-- | core/controllers/photos.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/controllers/photos.php b/core/controllers/photos.php index 730cfd2c..4690bf58 100644 --- a/core/controllers/photos.php +++ b/core/controllers/photos.php @@ -25,10 +25,7 @@ class Photos_Controller extends Items_Controller { public function _show($photo) { access::required("view", $photo); - $theme_name = module::get_var("core", "active_theme", "default"); - - $template = new Theme_View("page.html", "photo", $theme_name); - + $template = new Theme_View("page.html", "photo"); $template->set_global('item', $photo); $template->set_global('children', array()); $template->set_global('children_count', $photo->children_count()); |