MultipleBookingsFieldName can be set to -1

This commit is contained in:
Ludovic Marcotte
2015-01-05 13:49:28 -05:00
parent 59e6d6df4a
commit b1ac7a0cca
7 changed files with 17 additions and 15 deletions
@@ -637,10 +637,10 @@
if ([fbInfo count])
{
// If we always force the auto-accept if numberOfSimultaneousBookings == 0 (ie., no limit
// If we always force the auto-accept if numberOfSimultaneousBookings <= 0 (ie., no limit
// is imposed) or if numberOfSimultaneousBookings is greater than the number of
// overlapping events
if ([user numberOfSimultaneousBookings] == 0 ||
if ([user numberOfSimultaneousBookings] <= 0 ||
[user numberOfSimultaneousBookings] > [fbInfo count])
{
if (currentAttendee)