Skip to content

Commit 53dfb2b

Browse files
authored
gym > stop bug.
1 parent 710018b commit 53dfb2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

getpokestop.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
$sql = "SELECT * FROM pokestops";
1313
$result = $dbh->query($sql);
1414

15-
while($gym = $result->fetch(PDO::FETCH_ASSOC)) {
15+
while($stop = $result->fetch(PDO::FETCH_ASSOC)) {
1616

17-
$rows[] = $gym;
17+
$rows[] = $stop;
1818
}
1919
}
2020
catch (PDOException $exception) {

0 commit comments

Comments
 (0)