Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -634,7 +634,7 @@ |
635 | 635 | is_array( $template_instance_query_values ) && |
636 | 636 | array_key_exists( $escaped_field_name, $template_instance_query_values ) ) { |
637 | 637 | $field_query_val = $template_instance_query_values[$escaped_field_name]; |
638 | | - if ( $form_submitted || ( $field_query_val != '' && ! is_array( $field_query_val ) ) ) { |
| 638 | + if ( $form_submitted || ( ! is_null( $field_query_val ) && ! is_array( $field_query_val ) ) ) { |
639 | 639 | $cur_value = $field_query_val; |
640 | 640 | } |
641 | 641 | } else |