|
@@ -120,8 +120,9 @@ |
|
|
block discarded – undo |
|
120
|
120
|
foreach ( $types as $name => $type ) { |
|
121
|
121
|
echo '<option value="' . esc_attr( $name ) . '"'; |
|
122
|
122
|
|
|
123
|
|
- if ( isset( $_GET['discount_type'] ) ) |
|
124
|
|
- selected( $name, sanitize_text_field( $_GET['discount_type'] ) ); |
|
|
123
|
+ if ( isset( $_GET['discount_type'] ) ) { |
|
|
124
|
+ selected( $name, sanitize_text_field( $_GET['discount_type'] ) ); |
|
|
125
|
+ } |
|
125
|
126
|
|
|
126
|
127
|
echo '>' . esc_html__( $type, 'invoicing' ) . '</option>'; |
|
127
|
128
|
} |
Please login to merge, or discard this patch.