Open richplane opened 6 years ago
~~Unfortunately, when I unset any terms from my User, whilst the specified term is unset, the script always insists on setting an alternative one all by itself. The one it sets happens to have an id of 9826. I don't understand it. @richplane @shawfactor ~~
Last comment incorrect. This works.
The code doesn't appear to deal with the case that the user has all terms removed: no checkboxes checked means no value is posted in $_POST[$key], so no update takes place in save_profile().