aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
Diffstat (limited to 'day.php')
-rw-r--r--day.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/day.php b/day.php
index 053e8e9..93e0eaf 100644
--- a/day.php
+++ b/day.php
@@ -35,7 +35,7 @@ $list_calcolors = list_calcolors();
// login/logout
$is_logged_in = ($username != '' && !$invalid_login) ? true : false;
-$show_user_login = (!$is_logged_in && $allow_login);
+$show_user_login = (!$is_logged_in && $allow_login == 'yes');
$login_querys = login_querys();
$logout_querys = logout_querys();
@@ -83,4 +83,4 @@ $page->get_vtodo($this->page);
$page->output();
-?> \ No newline at end of file
+?>

© 2014-2024 Faster IT GmbH | imprint | privacy policy