Download & Extend

setting "First day of week:" is not remembered

Project:Availability Calendars
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

Status:active» fixed

Thanks Cliff, I've committed your fix to the D5 and D6 dev branches and will make some new releases soon.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

#3

Status:closed (fixed)» active

[Edit: deleted comment, opened new issue]

#4

Status:active» closed (fixed)