This fix didn't work for me. Here's what my original index.php looks like:
if(!empty($field) && empty($_POST[$field]) && !in_array($field, $disabled_user_fields))
That's slightly different than the one shown above. I'm using 2.16-13.
Can anyone tell em the correct code? When I try the one above, I get this error:
Parse error: syntax error, unexpected ']', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/websites/sherwoodnation.net/webmail/configuration/index.php on line 37
So I figured I needed two sets of quotation marks, thus:
if($field != "" && empty($_POST[$field]) && !in_array($field, $disabled_user_fields))
This gets rid of the above error, but still gives me the "You didn't fill in all the required fields" error. Any ideas what's wrong?