Skip to content

Commit 37e19e5

Browse files
committed
fix js syntax
1 parent b141ec3 commit 37e19e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugin.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ module ::CommunityCustomFields
4444
next if user.id < 0
4545

4646
topic.custom_fields[:status] = "new"
47-
48-
if (!user.admin) {
47+
48+
if (!user.admin)
4949
topic.custom_fields[:waiting_since] = Time.now.utc.iso8601
5050
topic.custom_fields[:waiting_id] = user.id
51-
}
51+
end
5252

5353
topic.save_custom_fields
5454
end

0 commit comments

Comments
 (0)