aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-04-18 12:47:48 +1000
committerMatthew Landauer <matthew@openaustralia.org>2013-04-18 13:21:15 +1000
commit83975c848c9e453e5936ccee3dc5221871758a8a (patch)
tree634f203328a846c8ca33f3744c8573cf860fd449 /app/models/info_request.rb
parentd7e9cb9991db045d9e73a017a7d5fbd676311031 (diff)
Simple solution to bugs shown up in tests in last 2 commits
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r--app/models/info_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index 156399b99..5d8e10ddb 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -639,7 +639,7 @@ public
event.save!
end
curr_state = nil
- elsif !curr_state.nil? && (event.event_type == 'followup_sent' || event.event_type == 'sent') && !event.described_state.nil? && (event.described_state == 'waiting_response' || event.described_state == 'internal_review')
+ elsif !curr_state.nil? && (event.event_type == 'followup_sent' || event.event_type == 'sent')
# Followups can set the status to waiting response / internal
# review. Initial requests ('sent') set the status to waiting response.