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

There are two overlapping keys in aray $optional (admin/uploaduser.php)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.5, 1.9
    • Component/s: Other
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      'idnumber' and 'icq' are initialized twice.

      $optional = array("idnumber" => 1,
      "icq" => 1,
      "phone1" => 1,
      "phone2" => 1,
      "address" => 1,
      "url" => 1,
      "description" => 1,
      "mailformat" => 1,
      "maildisplay" => 1,
      "htmleditor" => 1,
      "autosubscribe" => 1,
      "idnumber" => 1,
      "icq" => 1,
      "course1" => 1,
      "course2" => 1,
      "course3" => 1,
      "course4" => 1,
      "course5" => 1,
      "group1" => 1,
      "group2" => 1,
      "group3" => 1,
      "group4" => 1,
      "group5" => 1,
      "type1" => 1,
      "type2" => 1,
      "type3" => 1,
      "type4" => 1,
      "type5" => 1,
      "role1" => 1,
      "role2" => 1,
      "role3" => 1,
      "role4" => 1,
      "role5" => 1,
      "password" => $createpassword,
      "oldusername" => $allowrenames);

        Attachments

          Activity

            People

            • Assignee:
              poltawski Dan Poltawski
              Reporter:
              shirai Tatsuya Shirai
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08