@@ -53,10 +53,10 @@ |
||
| 53 | 53 | $pokedatas = json_decode(file_get_contents($pokemonstats_file), true); |
| 54 | 54 | } |
| 55 | 55 | if (is_file($pokedex_counts_file)) { |
| 56 | - $pokecountdatas = json_decode(file_get_contents($pokedex_counts_file), true); |
|
| 56 | + $pokecountdatas = json_decode(file_get_contents($pokedex_counts_file), true); |
|
| 57 | 57 | } |
| 58 | 58 | if (is_file($pokedex_raids_file)) { |
| 59 | - $raiddatas = json_decode(file_get_contents($pokedex_raids_file), true); |
|
| 59 | + $raiddatas = json_decode(file_get_contents($pokedex_raids_file), true); |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | JOIN spawnpoint s ON p.spawnpoint_id = s.id |
| 36 | 36 | " . $where." |
| 37 | 37 | ) x |
| 38 | - " . $where . " |
|
| 38 | + " . $where." |
|
| 39 | 39 | ORDER BY last_timestamp DESC |
| 40 | 40 | LIMIT 0,1"; |
| 41 | 41 | $result = $mysqli->query($req); |