diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 21:10:27 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 21:10:27 -0700 |
commit | 400c248e2d2c9acf022a247b80ed298ba0deab85 (patch) | |
tree | 38445c4e8bd8e3b135c5f4310fcb6577c49cb30e /modules/gallery/libraries/Theme_View.php | |
parent | 9b1e3eb1775f3af365d7320a8a0bbfed85e2311c (diff) |
default maintenance_mode from false -> 0 for consistency with the value we set in the db
Diffstat (limited to 'modules/gallery/libraries/Theme_View.php')
-rw-r--r-- | modules/gallery/libraries/Theme_View.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index 7b90c034..46291005 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -46,7 +46,7 @@ class Theme_View_Core extends Gallery_View { $this->set_global("thumb_proportion", $this->thumb_proportion()); } - if (module::get_var("gallery", "maintenance_mode", false)) { + if (module::get_var("gallery", "maintenance_mode", 0)) { if (identity::active_user()->admin) { message::warning(t("This site is currently in maintenance mode. Visit the <a href=\"%maintenance_url\">maintenance page</a>", array("maintenance_url" => url::site("admin/maintenance")))); } else |