mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 08:52:45 +00:00
Fix multiple bans/mutes/warnings not showing up
This commit is contained in:
parent
e81193689b
commit
0d50781637
@ -8,7 +8,7 @@ litebans_connect();
|
||||
function get_query($table) {
|
||||
global $table_history, $active_query, $limit_per_page;
|
||||
return 'SELECT * FROM ' . $table . ' INNER JOIN ' . $table_history . ' on ' . $table . '.uuid=' . $table_history . '.uuid ' . $active_query .
|
||||
' GROUP BY name ORDER BY time DESC LIMIT ' . $limit_per_page;
|
||||
' ORDER BY time DESC LIMIT ' . $limit_per_page;
|
||||
}
|
||||
|
||||
function run_query($table) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user