diff --git a/booking.variety_form.inc b/booking.variety_form.inc index 644ce5d..e7d9b2b 100644 --- a/booking.variety_form.inc +++ b/booking.variety_form.inc @@ -149,12 +149,9 @@ function booking_variety_regn_form_validate($form, &$form_state) { ->condition('v.booking_person_nid', $values['booking_nid'], '=') ->fields('v') ->execute(); - - watchdog('booking_debug', 'variety session registration rowcount:
@info', array('@info' => $prev_regn_query->rowCount())); if ($prev_regn_query->rowCount() > 0) { form_set_error('booking_nid', t('You have already registered for variety sessions. Existing registration cannot be changed.')); - watchdog('booking_debug', 'Previous variety session registration:
@info', array('@info' => print_r( $prev_regn_check, true))); } // --- Check there is still space available in the selected variety sessions ---