diff options
author | Go MAEDA <maeda@farend.jp> | 2022-03-21 06:00:21 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-03-21 06:00:21 +0000 |
commit | fccc19a4517666aa6736b402c50aecd412bdbe1d (patch) | |
tree | f3933ae08aad1800f48aa5716caaa66dd5b55a30 /app/models | |
parent | d9bcb65cb90ead59e1751dd2a87f85566c3e80d2 (diff) | |
download | redmine-fccc19a4517666aa6736b402c50aecd412bdbe1d.tar.gz redmine-fccc19a4517666aa6736b402c50aecd412bdbe1d.zip |
Reverts r21480 (#36503).
git-svn-id: https://svn.redmine.org/redmine/trunk@21484 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/issue_query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb index 4ada472e6..5a3e14474 100644 --- a/app/models/issue_query.rb +++ b/app/models/issue_query.rb @@ -80,7 +80,7 @@ class IssueQuery < Query def self.default(project: nil, user: User.current) query = nil # user default - if user&.logged? && (query_id = user.pref.default_issue_query.present? + if user&.logged? && (query_id = user.pref.default_issue_query) query = find_by(id: query_id) end # project default |