From d7322af067d4eba6afdfee9e82fee94e3ec384cc Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 21 Apr 2020 12:28:19 +0200 Subject: [PATCH] Fix missing table in report BT#17034 --- main/inc/lib/statistics.lib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/inc/lib/statistics.lib.php b/main/inc/lib/statistics.lib.php index 286872493d..359dc6501d 100644 --- a/main/inc/lib/statistics.lib.php +++ b/main/inc/lib/statistics.lib.php @@ -235,7 +235,6 @@ class Statistics default_value_type LIKE '%".$keyword."%' OR default_value LIKE '%".$keyword."%') "; } - $res = Database::query($sql); $obj = Database::fetch_object($res); @@ -911,7 +910,7 @@ class Statistics $table->set_header(5, get_lang('UserName')); $table->set_header(6, get_lang('IPAddress')); $table->set_header(7, get_lang('Date')); - $content = $table->toHtml(); + $content .= $table->return_table(); return $content; }