From 1c1b726d077dc4db27b8af526384e74b9ae50e4f Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 13 Oct 2009 19:56:02 -0700 Subject: Change the user config setting "allow_updates" to true in the identity config file and correct a missing variable in the view. --- modules/gallery/helpers/gallery_theme.php | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gallery/helpers') 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(); } } -- cgit v1.2.3