diff options
Diffstat (limited to 'includes/calendar_nav.php')
-rw-r--r-- | includes/calendar_nav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/calendar_nav.php b/includes/calendar_nav.php index fc82742..f4e7285 100644 --- a/includes/calendar_nav.php +++ b/includes/calendar_nav.php @@ -150,7 +150,7 @@ echo "<a class=\"psf\" href=\"print.php?cal=$cal&getdate=$getdate&printview=$current_view\">$goprint_lang</a><br>\n"; if ($allow_preferences != 'no') echo "<a class=\"psf\" href=\"preferences.php?cal=$cal&getdate=$getdate\">$preferences_lang</a><br>\n"; if ($cal != $ALL_CALENDARS_COMBINED && $subscribe_path != '' && $download_filename != '') echo "<a class=\"psf\" href=\"$subscribe_path\">$subscribe_lang</a> | <a class=\"psf\" href=\"$download_filename\">$download_lang</a>\n"; - if (isset($username)) { + if ($username != '') { $querys = preg_replace("/action=[^&]+/", "action=logout", $QUERY_STRING); if ($querys == $QUERY_STRING) $querys .= "&action=logout"; $querys = preg_replace("/(username|password)=[^&]+/", "", $querys); |