Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49200

Incorrect 'maxlength' default string

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.5, 2.8
    • 2.7.6, 2.8.4
    • Forms Library
    • Team Beards Sprint 3

    Description

      The string 'err_maxlength' in lang/en/form.php is wrong - it uses 'not' instead of 'no'. This string is used when adding a 'maxlength' rule to a form element without specifying the string used -

      eg. $form->addRule('name', null, 'maxlength', 255)

      Attachments

        Activity

          People

            markn Mark Nelson
            markn Mark Nelson
            Simey Lameze Simey Lameze
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Mar/15