diff --git a/pandora_console/include/ajax/demo_data.ajax.php b/pandora_console/include/ajax/demo_data.ajax.php index 772dcab272..bb92a21540 100644 --- a/pandora_console/include/ajax/demo_data.ajax.php +++ b/pandora_console/include/ajax/demo_data.ajax.php @@ -789,7 +789,6 @@ if ($action === 'create_demo_data') { } // Get last trap in database. - /* $id_trap_begin = db_get_value( 'MAX(id_trap)', diff --git a/pandora_console/include/class/Prd.class.php b/pandora_console/include/class/Prd.class.php index 1eaf9f93fa..bd1ab77fb1 100644 --- a/pandora_console/include/class/Prd.class.php +++ b/pandora_console/include/class/Prd.class.php @@ -2299,10 +2299,9 @@ class Prd ); // Get reference in value - if($columns_ref !== false) { + if ($columns_ref !== false) { foreach ($columns_ref as $col => $col_ref) { if (array_key_exists($col, $value[$ref['table']])) { - $sql = sprintf( 'SELECT * FROM %s WHERE %s = "%s"', $ref['table'], @@ -2456,10 +2455,9 @@ class Prd ); // Get reference in value - if($columns_ref !== false) { + if ($columns_ref !== false) { foreach ($columns_ref as $col => $col_ref) { if (array_key_exists($col, $value[$ref['table']])) { - $sql = sprintf( 'SELECT * FROM %s WHERE %s = "%s"', $ref['table'], @@ -3149,7 +3147,7 @@ class Prd } } - if($columns_ref !== false) { + if ($columns_ref !== false) { if (array_key_exists($column_name, $columns_ref)) { $temp_value = $array_value[$ref['table']][$column_name]; $temp_value = (is_array($temp_value) ? json_encode($temp_value) : $temp_value); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 237b5357b5..4b99fcc3ad 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -13847,3 +13847,7 @@ button.disabled { .tabs-show { display: list-item; } + +.white_table_graph > div { + background-color: transparent; +}