Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Vanilla 2.3 fully supports PHP 7. Get it now!
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

Registration Broken / Birthday Year

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

  • LincLinc Vanilla's Bard (and Lead Developer) Detroit Vanilla Staff
    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 Vanilla's Bard (and Lead Developer) Detroit Vanilla Staff
    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) {
Sign In or Register to comment.