Numerous changes. Travel form, CSV report etc
This commit is contained in:
@@ -869,7 +869,7 @@ function _booking_validate($node, &$form_state) {
|
||||
|
||||
//verify that a state has been entered if "Other" was selected
|
||||
if (($form_state['booking_state'] == 'Other' ) && ($form_state['booking_other_state'] == ''))
|
||||
form_set_error('booking_other_state', t('You must enter your State in the address section of the Contact details.'));
|
||||
form_set_error('booking_other_state', t('You must enter your State in the address section of the Contact details. Please put N/A if your country does not have states.'));
|
||||
}
|
||||
|
||||
function booking_form_submit($form, &$form_state) {
|
||||
@@ -1092,7 +1092,7 @@ function booking_load($nodes) {
|
||||
}
|
||||
}
|
||||
|
||||
//watchdog('booking', 'Final loaded node: @info', array('@info' => var_export($nodes, TRUE)));
|
||||
watchdog('booking', 'Final loaded node: @info', array('@info' => var_export($nodes, TRUE)));
|
||||
// no return necessary since $nodes array members reference objects global to this function
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user