diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-01-06 14:05:06 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-01-06 14:05:06 +0000 |
commit | 0b44f65514c60949856779c99ea7fcb5090f416e (patch) | |
tree | eba4b14f43197674e3b8318c4a572cef34ba3d43 | |
parent | 11a56ebdd2aa8d6590faa77572f7449709bb6fb5 (diff) |
Return nil if there's no latest calculated state to return
-rw-r--r-- | app/models/info_request_event.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/info_request_event.rb b/app/models/info_request_event.rb index 4ea89bf81..3514702da 100644 --- a/app/models/info_request_event.rb +++ b/app/models/info_request_event.rb @@ -147,6 +147,7 @@ class InfoRequestEvent < ActiveRecord::Base return event.calculated_state end end + return end def waiting_classification |