Moodle
  1. Moodle
  2. MDL-16428

An obvious typo in /lib/moodlelib.php is preventing calendar filter preferences from saving

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.9.3
    • Component/s: Calendar
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      There is a typo in /lib/moodlelib.php that is preventing calendar filter preferences from saving.

      CALENDAV instead of CALENDAR.

      It's in the function set_login_session_preferences:

      The code is this:

      calendar_set_filters_status(get_user_preferences('calendav_savedflt', 0xff));

      But should be this:

      calendar_set_filters_status(get_user_preferences('calendar_savedflt', 0xff));

        Gliffy Diagrams

          Activity

          Hide
          Dan Poltawski added a comment -

          I can't actually reproduce where this causes a problem (I think the preferences get loaded anyway elsewhere in the calendar jumble) - but I will fix the typo in CVS

          Show
          Dan Poltawski added a comment - I can't actually reproduce where this causes a problem (I think the preferences get loaded anyway elsewhere in the calendar jumble) - but I will fix the typo in CVS
          Hide
          Petr Skoda added a comment -

          thanks, closing

          Show
          Petr Skoda added a comment - thanks, closing

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: