diff --git a/booking.helper.inc b/booking.helper.inc index 2b1f85b..1b17121 100644 --- a/booking.helper.inc +++ b/booking.helper.inc @@ -188,14 +188,14 @@ function _booking_check_bookings_full() //check the number of people registered against the defined max if ($waitinglist_query->num_ppl >= variable_get('booking_regn_limit', 350)) { - //watchdog('booking', 'There are !num people booked in, which is greater than or equal to the limit of !limit.', - // array('!num' => $waitinglist_query->num_ppl, '!limit' => variable_get('booking_regn_limit', 350) )); + watchdog('booking', 'There are !num people booked in, which is greater than or equal to the limit of !limit.', + array('!num' => $waitinglist_query->num_ppl, '!limit' => variable_get('booking_regn_limit', 350) )); return true; } else { - //watchdog('booking', 'There are !num people booked in, which is less than the limit of !limit.', - // array('!num' => $waitinglist_query->num_ppl, '!limit' => variable_get('booking_regn_limit', 350) )); + watchdog('booking', 'There are !num people booked in, which is less than the limit of !limit.', + array('!num' => $waitinglist_query->num_ppl, '!limit' => variable_get('booking_regn_limit', 350) )); return false; } }