Moodle

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

Details

  • Type: Bug Bug
  • Status: Closed 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));

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 Škoda (skodak) added a comment -

thanks, closing

Show
Petr Škoda (skodak) added a comment - thanks, closing

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: