Passed
Push — master ( ab5ba7...172c83 )
by Markus
05:47
created
pages/gymhistory.page.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 <script type="text/javascript">
69 69
 <?=
70 70
 $gymName = "";
71
-if (isset($_GET['name']) && $_GET['name']!="") {
71
+if (isset($_GET['name']) && $_GET['name'] != "") {
72 72
 	$gymName = htmlentities($_GET['name']);
73 73
 }
74 74
 ?>
Please login to merge, or discard this patch.
core/process/aru.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -743,7 +743,7 @@  discard block
 block discarded – undo
743 743
 							FROM gymmember
744 744
 							LEFT JOIN gympokemon
745 745
 							ON gymmember.pokemon_uid = gympokemon.pokemon_uid
746
-							WHERE gymmember.gym_id = '". $data->gym_id ."'
746
+							WHERE gymmember.gym_id = '". $data->gym_id."'
747 747
 							ORDER BY deployment_time";
748 748
 				$pkm_result = $mysqli->query($pkm_req);
749 749
 				while ($pkm_result && $pkm_data = $pkm_result->fetch_object()) {
@@ -810,7 +810,7 @@  discard block
 block discarded – undo
810 810
 				$entry->total_cp_diff = 0;
811 811
 				$entry->only_cp_changed = true;
812 812
 				if ($idx < count($entries) - 1) {
813
-					$next_entry = $entries[$idx+1];
813
+					$next_entry = $entries[$idx + 1];
814 814
 					$entry->total_cp_diff = $entry->total_cp - $next_entry->total_cp;
815 815
 					$entry->class = $entry->total_cp_diff > 0 ? 'gain' : ($entry->total_cp_diff < 0 ? 'loss' : '');
816 816
 					$entry_pokemon = preg_split('/,/', $entry->pokemon_uids, null, PREG_SPLIT_NO_EMPTY);
@@ -823,7 +823,7 @@  discard block
 block discarded – undo
823 823
 					foreach ($old_pokemon as $pkm) {
824 824
 						$next_entry->pokemon[$pkm]->class = 'old';
825 825
 					}
826
-					if ($entry->team_id != $next_entry->team_id|| $entry->pokemon_uids != $next_entry->pokemon_uids) {
826
+					if ($entry->team_id != $next_entry->team_id || $entry->pokemon_uids != $next_entry->pokemon_uids) {
827 827
 						$entry->only_cp_changed = false;
828 828
 					}
829 829
 				}
Please login to merge, or discard this patch.