steve
6466f8c759
fix: read enabled checkbox correctly when paired with hidden=0 sibling
...
The notification channel form has a <input hidden name=enabled value=0>
plus a <input checkbox name=enabled value=1> so unchecking the box
still submits 'enabled=0' (otherwise the field would just be absent).
But Go's url.Values.Get returns the FIRST value, so even when the
checkbox is ticked the handler read '0' and persisted enabled=false.
Scan r.PostForm["enabled"] for any '1' instead. Caught during the
sweep — all three test channels saved with enabled=0 even though
the toggle visually rendered ON.
2026-05-04 21:00:54 +01:00
..
2026-05-04 17:27:52 +01:00
2026-05-04 11:27:09 +01:00
2026-05-04 17:27:52 +01:00
2026-05-03 16:15:17 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 15:11:49 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 15:38:28 +01:00
2026-05-04 17:27:52 +01:00
2026-05-02 11:12:58 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 10:57:28 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 10:19:15 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 17:12:45 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 10:19:15 +01:00
2026-05-04 10:19:15 +01:00
2026-05-01 00:28:18 +01:00
2026-05-04 10:19:15 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 10:19:15 +01:00
2026-05-04 11:07:32 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 10:19:15 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 10:41:13 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 10:44:31 +01:00
2026-05-04 10:57:28 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 20:06:45 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 15:19:22 +01:00
2026-05-04 15:19:22 +01:00
2026-05-04 19:59:24 +01:00
2026-05-04 21:00:44 +01:00
2026-05-04 20:29:49 +01:00
2026-05-04 20:06:45 +01:00
2026-05-04 21:00:54 +01:00
2026-05-04 11:00:28 +01:00
2026-05-04 10:49:57 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 10:19:15 +01:00
2026-05-04 20:19:09 +01:00
2026-05-04 17:27:52 +01:00
2026-05-04 20:19:09 +01:00
2026-05-04 20:19:09 +01:00
2026-05-04 20:19:09 +01:00