diff --git a/app/jobs/scheduled/pending_flags_reminder.rb b/app/jobs/scheduled/pending_flags_reminder.rb index 1b8080a049..895c6c2492 100644 --- a/app/jobs/scheduled/pending_flags_reminder.rb +++ b/app/jobs/scheduled/pending_flags_reminder.rb @@ -36,7 +36,7 @@ module Jobs end def last_notified_id - (i = $redis.get(self.class.last_notified_key)) && i.to_i + $redis.get(self.class.last_notified_key)&.to_i end def last_notified_id=(arg)