Completed
Push — master ( 2d1210...4a635a )
by Stephanie
03:14
created
classes/views/frm-entries/errors.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 <?php
5 5
 }
6 6
 if ( isset( $message ) && $message != '' ) {
7
-    if ( FrmAppHelper::is_admin() ) {
7
+	if ( FrmAppHelper::is_admin() ) {
8 8
 ?>
9 9
 <div id="message" class="frm_updated_message updated"><?php echo wp_kses_post( $message ) ?></div>
10 10
 <?php
@@ -13,23 +13,23 @@  discard block
 block discarded – undo
13 13
 
14 14
 		// we need to allow scripts here for javascript in the success message
15 15
 		echo $message;
16
-    }
16
+	}
17 17
 }
18 18
 
19 19
 if ( isset($errors) && is_array( $errors ) && ! empty( $errors ) ) {
20 20
 
21 21
 	if ( isset( $form ) && is_object( $form ) ) {
22
-    	FrmFormsHelper::get_scroll_js( $form->id );
22
+		FrmFormsHelper::get_scroll_js( $form->id );
23 23
 	}
24 24
 	?>
25 25
 <div class="<?php echo esc_attr( FrmFormsHelper::form_error_class() ) ?>">
26 26
 <?php
27 27
 $img = '';
28 28
 if ( ! FrmAppHelper::is_admin() ) {
29
-    $img = apply_filters('frm_error_icon', $img);
30
-    if ( $img && ! empty($img) ) {
31
-    	echo '<img src="' . esc_url( $img ) . '" alt="" />';
32
-    }
29
+	$img = apply_filters('frm_error_icon', $img);
30
+	if ( $img && ! empty($img) ) {
31
+		echo '<img src="' . esc_url( $img ) . '" alt="" />';
32
+	}
33 33
 }
34 34
 
35 35
 FrmFormsHelper::show_errors( compact( 'img', 'errors', 'form' ) );
Please login to merge, or discard this patch.