Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit 7130abb

Browse files
Update app/controllers/discourse_assign/assign_controller.rb
Co-authored-by: David Taylor <[email protected]>
1 parent 1f29432 commit 7130abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/discourse_assign/assign_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def assign
4444
note = params.permit(:note)["note"].presence
4545
status = params.permit(:status)["status"].presence
4646
should_notify = params.permit(:should_notify)["should_notify"]
47-
should_notify = (should_notify.present? ? should_notify == "true" : true)
47+
should_notify = (should_notify.present? ? should_notify.to_s == "true" : true)
4848

4949
assign_to =
5050
(

0 commit comments

Comments
 (0)