Completed
Push — master ( 08f576...0bf430 )
by
unknown
18s
created
classes/helpers/FrmSubmitHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 	public static function get_current_action_from_global_var( $form_id ) {
86 86
 		global $frm_vars;
87 87
 
88
-		return $frm_vars['form_params'][ $form_id ]['action'] ?? 'create';
88
+		return $frm_vars['form_params'][$form_id]['action'] ?? 'create';
89 89
 	}
90 90
 
91 91
 	/**
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 	public static function remove_submit_field_from_list( &$fields ) {
178 178
 		foreach ( $fields as $key => $field ) {
179 179
 			if ( self::FIELD_TYPE === FrmField::get_field_type( $field ) ) {
180
-				unset( $fields[ $key ] );
180
+				unset( $fields[$key] );
181 181
 				return;
182 182
 			}
183 183
 		}
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 				array( 'field_order' => $new_order )
225 225
 			);
226 226
 			if ( false !== $updated ) {
227
-				self::$last_row_fields_order[ $last_row_field_id ] = $new_order;
227
+				self::$last_row_fields_order[$last_row_field_id] = $new_order;
228 228
 			}
229 229
 		}
230 230
 	}
Please login to merge, or discard this patch.