summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/User/UserSession.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/User/UserSession.php b/app/Core/User/UserSession.php
index d52e6c73..d5f851e6 100644
--- a/app/Core/User/UserSession.php
+++ b/app/Core/User/UserSession.php
@@ -223,7 +223,7 @@ class UserSession extends Base
public function getFilters($projectID)
{
if (! session_exists('filters:'.$projectID)) {
- return session_get('user')['filter'];
+ return session_get('user')['filter'] ?: 'status:open';
}
return session_get('filters:'.$projectID);