summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/albums.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-16 23:51:39 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-16 23:51:39 -0700
commit2531f679902e5e4bc5237017debb468c722d6b15 (patch)
treeb7ee122cbb75babc4e1d7d6ebaba2f38d98b7c65 /modules/gallery/controllers/albums.php
parent5eeb6296a12127cda3c43e749c2bd854a251f94a (diff)
parent1dccc0286f3d983352e21f8148fdf4d9e9bc205d (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers/albums.php')
-rw-r--r--modules/gallery/controllers/albums.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php
index 856709c2..17fdec6b 100644
--- a/modules/gallery/controllers/albums.php
+++ b/modules/gallery/controllers/albums.php
@@ -26,7 +26,7 @@ class Albums_Controller extends Items_Controller {
$page_size = module::get_var("gallery", "page_size", 9);
if (!access::can("view", $album)) {
if ($album->id == 1) {
- $view = new Theme_View("page.html", "page");
+ $view = new Theme_View("page.html", "login");
$view->page_title = t("Log in to Gallery");
$view->content = user::get_login_form("login/auth_html");
print $view;