Commit da65e67
committed
Fix invalid default values when editing user options
The submitted default value is validated in `UserOptionAddForm` depending on the submitted option type. But when editing a user option there will be no option type submitted, because it is not allowed to change the option type of an existing option.
https://www.woltlab.com/community/thread/3106891 parent 13f1b51 commit da65e67
File tree
1 file changed
+3
-3
lines changed- wcfsetup/install/files/lib/acp/form
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments