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
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

geodaniel - November 18, 2008 - 20:25
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

System Message - December 2, 2008 - 20:43
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.