diff options
Diffstat (limited to 'proposal.inc')
-rwxr-xr-x | proposal.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/proposal.inc b/proposal.inc index c9a4200..2087575 100755 --- a/proposal.inc +++ b/proposal.inc @@ -511,17 +511,17 @@ function dwsim_flowsheet_proposal_form_validate($form, &$form_state) } //$form_state['values']['country'] == 'Others' else { - if ($form_state['values']['country'] == '') + if ($form_state['values']['country'] == '0') { form_set_error('country', t('Select country name')); // $form_state['values']['country'] = $form_state['values']['other_country']; } //$form_state['values']['country'] == '' - if ($form_state['values']['all_state'] == '') + if ($form_state['values']['all_state'] == '0') { form_set_error('all_state', t('Select state name')); // $form_state['values']['country'] = $form_state['values']['other_country']; } //$form_state['values']['all_state'] == '' - if ($form_state['values']['city'] == '') + if ($form_state['values']['city'] == '0') { form_set_error('city', t('Select city name')); // $form_state['values']['country'] = $form_state['values']['other_country']; |