Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item13897: Fixed use of undefined users attribute
... upon global destruction.
  • Loading branch information
vrurg committed Nov 28, 2016
1 parent e0c160a commit 99294e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/App.pm
Expand Up @@ -422,7 +422,7 @@ sub DEMOLISH {
# Make sure not to do this if incomplete initialization happened or we're
# doomed for "(in cleanup)" messages.
$this->users->loginManager->complete
if $this->has_users && $this->users->has_loginManager;
if $this->users && $this->users->has_loginManager;
}

=begin TML
Expand Down

0 comments on commit 99294e8

Please sign in to comment.