Closed (fixed)
Project:
Availability Calendars
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2008 at 19:05 UTC
Updated:
20 Jan 2011 at 11:29 UTC
If you set "First day of week:" in the edit page it is not remembered for next time the page is displayed.
The cause is a typo in "availability_calendars.module,v 1.1.4.1" line 480
#default_value' => variable_get('availability_'. $form['nid']['#value'] .'_startofweek', 1),
should be
#default_value' => variable_get('availability_calendars_'. $form['nid']['#value'] .'_startofweek', 1),
i.e. calendars_ has been mossed out.
hope this helps
Cliff
Comments
Comment #1
geodaniel commentedThanks Cliff, I've committed your fix to the D5 and D6 dev branches and will make some new releases soon.
Comment #3
futurist commented[Edit: deleted comment, opened new issue]
Comment #4
futurist commented