From 29f7008f7dc172b3d810ddda72805f0bb619ef14 Mon Sep 17 00:00:00 2001 From: ruan Date: Fri, 9 Oct 2015 15:05:17 +0200 Subject: [PATCH] Return outside if --- includes/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/page.php b/includes/page.php index 965264c..23cf6cf 100644 --- a/includes/page.php +++ b/includes/page.php @@ -98,8 +98,8 @@ class Page { $selection = "id,uuid,reason,banned_by_name,banned_by_uuid,time,until,CAST(active AS UNSIGNED) AS active"; if ($table === $this->settings->table['warnings']) { $selection .= ",CAST(warned AS UNSIGNED) AS warned"; - return $selection; } + return $selection; } function run_query() {