Skip to content

Commit

Permalink
fuck sql
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl committed Aug 6, 2017
1 parent e50d08d commit e3807a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions methods/teams.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ function run_method($state)
$teams = $state->db->fetchAll("SELECT
id, name, captain, created_at
FROM teams
LIMIT $offset, 50
WHERE tournament = ?", [$tourn_id]);
WHERE tournament = ?
LIMIT $offset, 50", [$tourn_id]);

array_walk($teams, "walker");

Expand Down

0 comments on commit e3807a4

Please sign in to comment.