Commit b9791f865bf68f26a5e41d8bf403eb1d5c6299a0

Authored by Marcin Ciunelis
1 parent 58c335e4
Exists in master and in 1 other branch production

clear cache only if problem still exists

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/notice.rb
... ... @@ -110,7 +110,7 @@ class Notice
110 110 end
111 111  
112 112 def remove_cached_attributes_from_problem
113   - problem.remove_cached_notice_attribures(self)
  113 + problem.remove_cached_notice_attribures(self) if err
114 114 end
115 115  
116 116 def unresolve_problem
... ...