Fixed bug in metaconsole filter events

This commit is contained in:
manuel 2019-08-27 15:46:22 +02:00
parent fe088a59d6
commit 3901a1abb6
2 changed files with 2 additions and 2 deletions

View File

@ -1220,7 +1220,7 @@ function events_get_all(
ON ts.id = te.server_id'; ON ts.id = te.server_id';
if (!empty($filter['server_id'])) { if (!empty($filter['server_id'])) {
$server_join = sprintf( $server_join = sprintf(
' LEFT JOIN tmetaconsole_setup ts ' INNER JOIN tmetaconsole_setup ts
ON ts.id = te.server_id AND ts.id= %d', ON ts.id = te.server_id AND ts.id= %d',
$filter['server_id'] $filter['server_id']
); );

View File

@ -984,7 +984,7 @@ if (is_metaconsole()) {
'SELECT id, server_name FROM tmetaconsole_setup', 'SELECT id, server_name FROM tmetaconsole_setup',
'server_id', 'server_id',
$server_id, $server_id,
'script', '',
__('All'), __('All'),
'0', '0',
true true