mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 12:02:05 +08:00
FIX: Backfill topic timer duration (#9249)
This commit is contained in:
@ -470,7 +470,7 @@ class PostCreator
|
||||
|
||||
if topic_timer &&
|
||||
topic_timer.based_on_last_post &&
|
||||
topic_timer.duration > 0
|
||||
topic_timer.duration.to_i > 0
|
||||
|
||||
@topic.set_or_create_timer(TopicTimer.types[:close],
|
||||
nil,
|
||||
|
Reference in New Issue
Block a user