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

kenorb’s picture

Status: Active » Fixed

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

Status: Fixed » Closed (fixed)

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