diff --git a/interface/lib/classes/tools_monitor.inc.php b/interface/lib/classes/tools_monitor.inc.php index 8dad19f13b3f838163158170f9cbe4f7096c3fdc..6119de73d1ed4d1ef7cc0af9016e62486c86a10b 100644 --- a/interface/lib/classes/tools_monitor.inc.php +++ b/interface/lib/classes/tools_monitor.inc.php @@ -139,8 +139,8 @@ class tools_monitor { foreach($data as $line) { $html .= '<tr>'; if ($line['size'] > 0) $line['size'] = $app->functions->formatBytes($line['size']); - //* get the username - $line['sys_groupid']=$app->db->queryOneRecord("SELECT client.username FROM web_database, sys_group, client WHERE web_database.sys_groupid = sys_group.groupid AND sys_group.client_id = client.client_id AND web_database.database_name='".$line['name']."'")['username']; + //* remove sys_groupid from output + unset($line['sys_groupid']); //* get the domain $line['domain']=$app->db->queryOneRecord("SELECT domain FROM web_domain WHERE domain_id=(SELECT parent_domain_id FROM web_database WHERE database_name='".$line['name']."')")['domain']; foreach ($line as $item) {