Commit e2ced369 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 396376: Crash on logout - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat

parent 3006c3c9
......@@ -267,7 +267,7 @@ sub logout {
my ($class, $option) = @_;
# If we're not logged in, go away
return unless user->id;
return unless $class->user->id;
$option = LOGOUT_CURRENT unless defined $option;
Bugzilla::Auth::Persist::Cookie->logout({type => $option});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment