From 62bc85a6699991ef1b80160cecff5f09261b179a Mon Sep 17 00:00:00 2001 From: r888888888 Date: Thu, 17 Sep 2015 11:41:44 -0700 Subject: [PATCH] fix janitor trial report --- app/logical/reports/janitor_trials.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/logical/reports/janitor_trials.rb b/app/logical/reports/janitor_trials.rb index 0c262d74e..68ef2709d 100644 --- a/app/logical/reports/janitor_trials.rb +++ b/app/logical/reports/janitor_trials.rb @@ -12,7 +12,7 @@ module Reports end def created_at - trial.created_at + trial.try(:created_at) || 10.years.ago end def since