You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a bug I believe.
Line 213 in PersonEditor.php reads:
} elseif (strlen($iBirthYear) > 0 && $iBirthMonth == 0 && $iBirthDay == 0) {
By default on the page Birth Year is set to 0, which has a string length of 1 so will always fail.
Changing line 213 to read:
} elseif ($iBirthYear > 0 && $iBirthMonth == 0 && $iBirthDay == 0) {
will fix the problem and allow the date of birth to be optional.
It doesn't seem like a birthday should be required.
The text was updated successfully, but these errors were encountered: