Passed
Push — master ( 7c0663...7b931b )
by Brian
05:42
created
includes/admin/admin-pages.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -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.