Commit b9791f865bf68f26a5e41d8bf403eb1d5c6299a0
1 parent
58c335e4
Exists in
master
and in
1 other branch
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,7 +110,7 @@ class Notice | ||
| 110 | end | 110 | end |
| 111 | 111 | ||
| 112 | def remove_cached_attributes_from_problem | 112 | def remove_cached_attributes_from_problem |
| 113 | - problem.remove_cached_notice_attribures(self) | 113 | + problem.remove_cached_notice_attribures(self) if err |
| 114 | end | 114 | end |
| 115 | 115 | ||
| 116 | def unresolve_problem | 116 | def unresolve_problem |