Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16344

phpbb_validate_email uses non-existent language keys

    XMLWordPrintable

    Details

      Description

      The phpbb_validate_email function returns the language key EMAIL_INVALID when an email address does not match the email regexp, but the name of this key in the language pack is actually EMAIL_INVALID_EMAIL.

      Similarly, when the email_check_mx configuration option is enabled and phpbb_validate_email cannot find a valid MX record, it returns the language key DOMAIN_NO_MX_RECORD, but the language key in the language pack is actually DOMAIN_NO_MX_RECORD_EMAIL. Also, this key is in the ucp.php language file which is not loaded by memberlist.php?mode=contactadmin so does not work with that form.

        Attachments

          Activity

            People

            Assignee:
            Marc Marc
            Reporter:
            Snover Snover [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: