summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_theme.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-13 19:56:02 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-13 19:56:02 -0700
commit1c1b726d077dc4db27b8af526384e74b9ae50e4f (patch)
tree090086791f048ae616a02674886f9f7c7145c229 /modules/gallery/helpers/gallery_theme.php
parent468b715a4dba01a93dbff637f6500d7d31638e64 (diff)
Change the user config setting "allow_updates" to true in the identity config file and correct a missing variable in the view.
Diffstat (limited to 'modules/gallery/helpers/gallery_theme.php')
-rw-r--r--modules/gallery/helpers/gallery_theme.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index a342b4bd..54b35fb7 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -55,6 +55,7 @@ class gallery_theme_Core {
if ($theme->page_type != "login") {
$view = new View("login.html");
$view->user = user::active();
+ $view->writable = user::is_writable();
return $view->render();
}
}