diff options
-rw-r--r-- | app/views/request/_correspondence.rhtml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/request/_correspondence.rhtml b/app/views/request/_correspondence.rhtml index f7e6870e0..6862f1f7d 100644 --- a/app/views/request/_correspondence.rhtml +++ b/app/views/request/_correspondence.rhtml @@ -4,7 +4,10 @@ if !info_request_event.nil? && info_request_event.event_type == 'response' end # cache against all the parameters that there are to this partial -cache_name = "correspondence/" + info_request_event.id.to_s +cache_name = "" +if !info_request_event.nil? + cache_name = cache_name + "correspondence/" + info_request_event.id.to_s +end if !incoming_message.nil? cache_name = cache_name + "/incoming_message/" + incoming_message.id.to_s end |