Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -795,7 +795,7 @@ |
796 | 796 | } |
797 | 797 | |
798 | 798 | if ( empty( $cur_value ) && !$form_submitted ) { |
799 | | - if ( $default_value ) { |
| 799 | + if ( !is_null( $default_value ) ) { |
800 | 800 | // Set to the default value specified in the form, if it's there. |
801 | 801 | $cur_value = $default_value; |
802 | 802 | } elseif ( $preload_page ) { |