Test Failed
Push — master ( 7e3a39...a37e7d )
by Stiofan
07:44
created
geodirectory-functions/custom_functions.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2270,7 +2270,7 @@  discard block
 block discarded – undo
2270 2270
 
2271 2271
 	if ( $new_style ) {
2272 2272
 		$default_search_button_label = '<i class="fa fa-search" aria-hidden="true"></i>';
2273
-	}else{
2273
+	} else{
2274 2274
 		$default_search_button_label = 'Search';
2275 2275
 	}
2276 2276
 	if ( get_option( 'geodir_search_button_label' ) && get_option( 'geodir_search_button_label' ) != 'Search' ) {
@@ -2297,7 +2297,7 @@  discard block
 block discarded – undo
2297 2297
 	if ( $new_style ) {
2298 2298
 	?>
2299 2299
 		<button class="geodir_submit_search <?php echo $fa_class; ?>"><?php _e( $default_search_button_label ,'geodirectory'); ?></button>
2300
-<?php }else{?>
2300
+<?php } else{?>
2301 2301
 		<input type="button" value="<?php esc_attr_e( $default_search_button_label ); ?>"
2302 2302
 	       class="geodir_submit_search <?php echo $fa_class; ?>"/>
2303 2303
 	<?php }
@@ -2349,16 +2349,16 @@  discard block
 block discarded – undo
2349 2349
 			if ( $new_style ) {
2350 2350
 				echo "</div>";
2351 2351
 			}
2352
-		}else{
2352
+		} else{
2353 2353
 			if(! empty( $post_types )){
2354 2354
 				echo '<input type="hidden" name="stype" value="' . key( $post_types ) . '"  />';
2355
-			}else{
2355
+			} else{
2356 2356
 				echo '<input type="hidden" name="stype" value="gd_place"  />';
2357 2357
 			}
2358 2358
 
2359 2359
 		}
2360 2360
 
2361
-	}elseif ( ! empty( $post_types ) ) {
2361
+	} elseif ( ! empty( $post_types ) ) {
2362 2362
 		echo '<input type="hidden" name="stype" value="' . key( $post_types ) . '"  />';
2363 2363
 	}
2364 2364
 }
Please login to merge, or discard this patch.