Failed Conditions
Pull Request — master (#353)
by Florian
05:07
created
core/js/trainer.graph.js.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 $trainer_lvl = [];
29 29
 # For all 3 teams
30 30
 for ($teamid = 1; $teamid <= 3; $teamid++) {
31
-    $data = $manager->getTrainerLevelCount($teamid);
31
+	$data = $manager->getTrainerLevelCount($teamid);
32 32
 	$trainer_lvl[$teamid] = $data;
33 33
 }
34 34
 
Please login to merge, or discard this patch.
core/process/queries/QueryManagerMysqlMonocleAlternate.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -540,9 +540,9 @@
 block discarded – undo
540 540
 		$trainers = array();
541 541
 		while ($data = $result->fetch_object()) {
542 542
 			$data->last_seen = date("Y-m-d", strtotime($data->last_seen));
543
-            if (is_null($data->active)) {
544
-                $data->active = 0;
545
-            }
543
+			if (is_null($data->active)) {
544
+				$data->active = 0;
545
+			}
546 546
 			$trainers[$data->name] = $data;
547 547
 
548 548
 			$pokemon = array_merge($this->getActivePokemon($data->name),  $this->getInactivePokemon($data->name));
Please login to merge, or discard this patch.