aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorWesley Miaw <josuah@users.sourceforge.net>2004-05-15 03:29:57 +0000
committerWesley Miaw <josuah@users.sourceforge.net>2004-05-15 03:29:57 +0000
commit7bede9014cacd534de83640496a9f7aa1fdf3d39 (patch)
tree0ec967e5c9f0d137068c30b264d9a5144b4bf11e /day.php
parent5cce882122b314b5c13a9bd3847452ce4354389e (diff)
downloadphpicalendar-7bede9014cacd534de83640496a9f7aa1fdf3d39.tar.gz
phpicalendar-7bede9014cacd534de83640496a9f7aa1fdf3d39.tar.bz2
phpicalendar-7bede9014cacd534de83640496a9f7aa1fdf3d39.zip
Corrected check for $allow_login configuration flag.
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-2022 Faster IT GmbH | imprint | privacy policy