Opened 10 years ago
Closed 10 years ago
#6443 closed defect (bug) (fixed)
Cannot have "0" as XProfile field option
Reported by: | johnjamesjacoby | Owned by: | |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | 2.2 |
Component: | Extended Profile | Keywords: | has-patch |
Cc: |
Description
If you try to create an XProfile field option with the name "0" the following error will occur:
'This field type requires at least one option. Please add options below.'
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
6443.01.patch uses
isset()
rather thanempty()
inBP_XProfile_Field::admin_validate()
.