From af646f443eeefce8eb90742d224ce56ba184c74e Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sat, 12 Sep 2015 09:49:42 +1000 Subject: [PATCH] Fixed intl verification on regn form --- booking.regn_form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booking.regn_form.inc b/booking.regn_form.inc index 194659b..ed8124a 100644 --- a/booking.regn_form.inc +++ b/booking.regn_form.inc @@ -1161,7 +1161,7 @@ function _booking_validate($node, &$form_state) { } //verify international address has updated the state field - if ((strcasecmp($form_state['booking_country'], 'Australia') !== 0) && (strcasecmp($form_state['booking_state'], 'Other') !== 0)) + if ((strcasecmp($form_state['booking_country'], 'Australia') !== 0) && (strcasecmp($form_state['booking_state'], 'Other') !== 0) && (strcasecmp($form_state['booking_state'], 'NZ') !== 0)) { form_set_error('booking_state', t('You must enter your State in the address section of the Contact details. Please choose a state of Other and specify N/A if your country does not have states.')); }