← All changes
|
classes/views/frm-fields/back-end/format-dropdown-options.php
+1
-1
6.26
→
trunk
View file →
| @@ -42,9 +42,9 @@ | ||
| 42 | 42 | |
| 43 | 43 | if ( 'text' === $field_type ) { |
| 44 | 44 | FrmHtmlHelper::echo_dropdown_option( |
| 45 | 45 | __( 'Custom', 'formidable' ), |
| 46 | - ! empty( $format ) && ! FrmCurrencyHelper::is_currency_format( $format ), | |
| 46 | + $format && ! FrmCurrencyHelper::is_currency_format( $format ), | |
| 47 | 47 | array( |
| 48 | 48 | 'value' => 'custom', |
| 49 | 49 | 'data-dependency' => '#frm-field-format-custom-' . $field_id, |
| 50 | 50 | ) |