Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2016-06-02 16:25:40 +0300
committerJosh Frye <joshfng@gmail.com>2016-06-02 16:25:40 +0300
commit0f3df62e1a42982ffb635dc5a9b201ed2520b0f4 (patch)
tree73c12eeecdef2a5abd214a838ad31d1008833353 /app
parent8835b7889a6265aba3c6d7ee241abf80a1cf07f3 (diff)
Update specs. Add CHANGELOG entry
Diffstat (limited to 'app')
-rw-r--r--app/models/concerns/issuable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb
index 46cde460952..50f5b749e38 100644
--- a/app/models/concerns/issuable.rb
+++ b/app/models/concerns/issuable.rb
@@ -74,7 +74,7 @@ module Issuable
def update_assignee_cache_counts
# make sure we flush the cache for both the old *and* new assignee
User.find(assignee_id_was).update_cache_counts if assignee_id_was
- assignee.update_cache_counts if assignee_id
+ assignee.update_cache_counts if assignee
end
end