diff --git a/core/lib/Foswiki/App.pm b/core/lib/Foswiki/App.pm index 63e8be75fe..d5d56b6723 100644 --- a/core/lib/Foswiki/App.pm +++ b/core/lib/Foswiki/App.pm @@ -431,7 +431,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