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

strings reversed in request_form.php, Moodle 1.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.1, 1.9
    • 1.8
    • Course
    • None
    • all
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      A couple of strings have been reversed in request_form.php. Also I have lengthened the shortname field.

      Currently reads:
      $mform->addElement('text', 'fullname', get_string('fullname'), 'maxlength="254" size="50"');
      $mform->addRule('fullname', get_string('missingshortname'), 'required', null, 'client');
      $mform->setType('fullname', PARAM_TEXT);

      $mform->addElement('text', 'shortname', get_string('shortname'), 'maxlength="25" size="25"');
      $mform->addRule('shortname', get_string('missingfullname'), 'required', null, 'client');
      $mform->setType('shortname', PARAM_TEXT);

      Should read:
      $mform->addElement('text', 'fullname', get_string('fullname'), 'maxlength="254" size="50"');
      $mform->addRule('fullname', get_string('missingfullname'), 'required', null, 'client');
      $mform->setType('fullname', PARAM_TEXT);

      $mform->addElement('text', 'shortname', get_string('shortname'), 'maxlength="25" size="25"');
      $mform->addRule('shortname', get_string('missingshortname'), 'required', null, 'client');
      $mform->setType('shortname', PARAM_TEXT);

            dougiamas Martin Dougiamas
            awyatt A. T. Wyatt
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.