diff --git a/src/applications/maniphest/application/PhabricatorManiphestApplication.php b/src/applications/maniphest/application/PhabricatorManiphestApplication.php index 3e42eadeae..4a26bb7138 100644 --- a/src/applications/maniphest/application/PhabricatorManiphestApplication.php +++ b/src/applications/maniphest/application/PhabricatorManiphestApplication.php @@ -75,6 +75,10 @@ final class PhabricatorManiphestApplication extends PhabricatorApplication { public function loadStatus(PhabricatorUser $user) { $status = array(); + if (!$user->isLoggedIn()) { + return $status; + } + $query = id(new ManiphestTaskQuery()) ->setViewer($user) ->withStatuses(ManiphestTaskStatus::getOpenStatusConstants())