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

roles/assign.php not getting course startdate correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Roles / Access
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      $basemenu[0] = get_string('startdate') . ' (' . userdate($course->startdate, $timeformat) . ')';

      is showing the date as 31 December 1969 in the dropdown from the locally assign roles tab

      I'm wondering if perhaps it is trying to get the site startdate (0) rather than the actual course startdate

        Attachments

          Activity

            People

            Assignee:
            lazyfish Yu Zhang
            Reporter:
            me Chardelle Busch
            Tester:
            Nobody
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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