setting "First day of week:" is not remembered
cliffjanderson - November 15, 2008 - 19:05
| Project: | Availability Calendars |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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

#1
Thanks Cliff, I've committed your fix to the D5 and D6 dev branches and will make some new releases soon.
#2
Automatically closed -- issue fixed for two weeks with no activity.