summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CGI.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/CGI.pl b/CGI.pl
index ef1c16d85..c8da97174 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -224,8 +224,7 @@ my $login_cookie_set = 0;
# required, it will prompt for a login.
sub quietly_check_login {
if (Param('requirelogin') && !(@_)) {
- confirm_login();
- return;
+ return confirm_login();
}
$::disabledreason = '';
my $userid = 0;