mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 08:52:45 +00:00
Return outside if
This commit is contained in:
parent
1a37b1a87c
commit
29f7008f7d
@ -98,8 +98,8 @@ class Page {
|
|||||||
$selection = "id,uuid,reason,banned_by_name,banned_by_uuid,time,until,CAST(active AS UNSIGNED) AS active";
|
$selection = "id,uuid,reason,banned_by_name,banned_by_uuid,time,until,CAST(active AS UNSIGNED) AS active";
|
||||||
if ($table === $this->settings->table['warnings']) {
|
if ($table === $this->settings->table['warnings']) {
|
||||||
$selection .= ",CAST(warned AS UNSIGNED) AS warned";
|
$selection .= ",CAST(warned AS UNSIGNED) AS warned";
|
||||||
return $selection;
|
|
||||||
}
|
}
|
||||||
|
return $selection;
|
||||||
}
|
}
|
||||||
|
|
||||||
function run_query() {
|
function run_query() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user