Passed
Pull Request — master (#192)
by PoUpA
02:32
created
core/process/aru.php 1 patch
Braces   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,11 +43,11 @@  discard block
 block discarded – undo
43 43
 }
44 44
 $mysqli->set_charset('utf8');
45 45
 $request = "";
46
-if (isset($_GET['type'])){
46
+if (isset($_GET['type'])) {
47 47
 $request 	= $_GET['type'];
48 48
 }
49 49
 $postRequest = "";
50
-if (isset($_POST['type'])){
50
+if (isset($_POST['type'])) {
51 51
 	$postRequest = $_POST['type'];
52 52
 	$request= "postRequest";
53 53
 }
@@ -531,8 +531,7 @@  discard block
 block discarded – undo
531 531
 								</div>
532 532
 							</div>
533 533
 						</div>';
534
-				}
535
-				else {
534
+				} else {
536 535
 					$gymData['infoWindow'] .= '
537 536
 					<div style="text-align: center; width: 50px; display: inline-block; margin-right: 3px">
538 537
 						<a href="pokemon/'.$data->pokemon_id.'">
@@ -755,7 +754,7 @@  discard block
 block discarded – undo
755 754
 
756 755
 	break;
757 756
 }
758
-if ($postRequest!=""){
757
+if ($postRequest!="") {
759 758
 	switch ($postRequest) {
760 759
 		case 'pokemon_live':
761 760
 			$json="";
Please login to merge, or discard this patch.