Closed (fixed)
Project:
Booking Time Slots
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2010 at 13:55 UTC
Updated:
15 Apr 2010 at 08:30 UTC
Trying to figure out why maximum available slots aren't being recognized, I noticed that "available" is mistyped on line 79 of calendar-day.tpl.php, which says:
$slots = variable_get('booking_timeslot_avaliable_slots', 0);
the same misspelling occurs on line 287.
Correcting the spelling doesn't make a difference (even after flushing the cache), however: I can set a maximum of 1 available slot, but I am still allowed to create a second booking in that slot.
Comments
Comment #1
kenorb commentedThanks.
It was misspelled originally in all places, so it's was not the main reason.
http://drupal.org/cvs?commit=348980
http://drupal.org/cvs?commit=348982
After upgrade db update (update.php) is needed.