From bde64a2058ce32705a032c44b84449ba7ed38aef Mon Sep 17 00:00:00 2001 From: ruan Date: Mon, 8 May 2017 15:21:23 +0200 Subject: [PATCH] Add new columns (todo impl) --- inc/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/page.php b/inc/page.php index 579f471..f5e0a73 100644 --- a/inc/page.php +++ b/inc/page.php @@ -148,7 +148,7 @@ class Page { // Under certain versions of PHP, there is a bug with BIT columns. // An empty string is returned no matter what the value is. // Workaround: cast to unsigned. - $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,server_origin,server_scope,CAST(active AS UNSIGNED) AS active"; if ($table === $this->settings->table['warnings']) { $selection .= ",CAST(warned AS UNSIGNED) AS warned"; }