Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.

Registration Broken / Birthday Year

edited December 2009 in Vanilla 2.0 - 2.8
It seems that the latest version of Vanilla has introduced a bug that results in the year not being listed on the registation forum. Because it isn't listed, it means that no new user can register. Take a look at the registration form here:

http://forum.wbpsystems.com/entry/

Comments

  • Merde. Unintended consequence of a bug fix I submitted to allow single-year date ranges. I didn't realize Vanilla was using that as default behavior in places like the registration form.

    I've fixed it in my branch and sent a pull request so it should be in master soon. Egg on my face; sorry about that.
  • LincLinc Admin
    edited December 2009
    @tazz_ben If you need to fix it in your copy faster:

    /library/core/class.form.php line 108 change from:
    if ($StartYear > $EndYear) {
    to:
    if ($YearRange === FALSE || $StartYear > $EndYear) {
  • Thanks, that fixed it.
Sign In or Register to comment.