SMF Development > Bug Reports
(2.0 RC4) Custom Profile Fields - select box default
hakcenter:
Okay here's a basic fix for the selectbox, allowing users to select the blank box, and it will respect that, as long as the selectbox is not 'required'
Profile-Modify.php
--- Code: ---Find
$value = $row['default_value'];
Replace
if ($row['show_reg'] > 1)
$value = $row['default_value'];
else
$value = '';
--- End code ---
Joshua Dickerson:
Is this relevant? I noticed it on the last page and wasn't tracked.
hakcenter:
I don't think so ? I think it made it up stream.. Would have to check against my forum but all seems fine
Joshua Dickerson:
hakcenter, if you wouldn't mind checking, I would like to close this. Thanks :)
hakcenter:
Wow I never updated this, lame..
No it is not fixed 2.0.2
Navigation
[0] Message Index
[*] Previous page
Go to full version