diff --git a/src/applications/config/controller/PhabricatorConfigWelcomeController.php b/src/applications/config/controller/PhabricatorConfigWelcomeController.php index 6eb9fffe08..9f0b343ba2 100644 --- a/src/applications/config/controller/PhabricatorConfigWelcomeController.php +++ b/src/applications/config/controller/PhabricatorConfigWelcomeController.php @@ -133,7 +133,8 @@ final class PhabricatorConfigWelcomeController $content); $settings_href = PhabricatorEnv::getURI('/settings/'); - $have_settings = !empty($viewer->loadPreferences()->getPreferences()); + $prefs = $viewer->loadPreferences()->getPreferences(); + $have_settings = !empty($prefs); if ($have_settings) { $content = pht( "You've adjusted at least one setting on your account.\n\n".