forked from Cavemanon/cavepaintings
mysql can go choke on a bucket of cocks
This commit is contained in:
@@ -99,9 +99,9 @@ class LogDatabase extends SimpleExtension {
|
||||
}
|
||||
}
|
||||
|
||||
$args[] = $offset;
|
||||
$args[] = $limit;
|
||||
$events = $database->get_all("SELECT * FROM score_log $where ORDER BY id DESC OFFSET ? LIMIT ?", $args);
|
||||
$args[] = $offset;
|
||||
$events = $database->get_all("SELECT * FROM score_log $where ORDER BY id DESC LIMIT ? OFFSET ?", $args);
|
||||
|
||||
$this->theme->display_events($events, $page_num, 100);
|
||||
}
|
||||
|
Reference in New Issue
Block a user