Test Failed
Push — master ( 8c5d76...a58216 )
by Stiofan
26:48 queued 14s
created
geodirectory-functions/custom_functions.php 1 patch
Braces   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
 
243 243
 		$author_id  = $p_post->post_author;
244 244
 
245
-	}else{
245
+	} else{
246 246
 		gd_die();
247 247
 	}
248 248
 
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
 
390 390
 		check_ajax_referer( 'send_to_frnd_'.$pid );
391 391
 
392
-	}else{
392
+	} else{
393 393
 		gd_die();
394 394
 	}
395 395
 
@@ -2283,7 +2283,7 @@  discard block
 block discarded – undo
2283 2283
 
2284 2284
 	if ( $new_style ) {
2285 2285
 		$default_search_button_label = '<i class="fas fa-search" aria-hidden="true"></i>';
2286
-	}else{
2286
+	} else{
2287 2287
 		$default_search_button_label = 'Search';
2288 2288
 	}
2289 2289
 	if ( get_option( 'geodir_search_button_label' ) && get_option( 'geodir_search_button_label' ) != 'Search' ) {
@@ -2310,7 +2310,7 @@  discard block
 block discarded – undo
2310 2310
 	if ( $new_style ) {
2311 2311
 		?>
2312 2312
 		<button class="geodir_submit_search "><?php _e( $default_search_button_label ,'geodirectory'); ?></button>
2313
-	<?php }else{?>
2313
+	<?php } else{?>
2314 2314
 		<input type="button" value="<?php esc_attr_e( $default_search_button_label ); ?>"
2315 2315
 		       class="geodir_submit_search "/>
2316 2316
 	<?php }
@@ -2360,17 +2360,17 @@  discard block
 block discarded – undo
2360 2360
 			if ( $new_style ) {
2361 2361
 				echo "</div>";
2362 2362
 			}
2363
-		}else{
2363
+		} else{
2364 2364
 			if(! empty( $post_types )){
2365 2365
 				$pt_arr = (array)$post_types;
2366 2366
 				echo '<input type="hidden" name="stype" value="' . key( $pt_arr  ) . '"  />';
2367
-			}else{
2367
+			} else{
2368 2368
 				echo '<input type="hidden" name="stype" value="gd_place"  />';
2369 2369
 			}
2370 2370
 
2371 2371
 		}
2372 2372
 
2373
-	}elseif ( ! empty( $post_types ) ) {
2373
+	} elseif ( ! empty( $post_types ) ) {
2374 2374
 		echo '<input type="hidden" name="stype" value="gd_place"  />';
2375 2375
 	}
2376 2376
 }
Please login to merge, or discard this patch.