mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 08:29:06 +00:00
Simplify startup query
This commit is contained in:
parent
3d4e7cb6a7
commit
dbd806ef51
@ -56,7 +56,7 @@ if ($page->settings->header_show_totals) {
|
||||
(SELECT COUNT(*) FROM $t_kicks $active_query)";
|
||||
|
||||
if ($page->db->verify) {
|
||||
$sql .= ",(SELECT id FROM " . $t['config'] . " LIMIT 1)";
|
||||
$sql .= ",(SELECT * FROM " . $t['config'] . " LIMIT 1)";
|
||||
}
|
||||
$st = $page->conn->query($sql);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user