diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 65bd2b747d..727c617fc7 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2009-04-22 Manuel Arostegui + + * install.php: Fixed bug #2777317 + + * godmode/agentes/planned_downtime.php: Fixed bug #2777475 + + * godmode/reporting/map_builder.php: Fixed bug #2777347 + 2009-04-22 Manuel Arostegui * operation/agentes/sla_view.php: Fixed bug #2777504 diff --git a/pandora_console/godmode/agentes/planned_downtime.php b/pandora_console/godmode/agentes/planned_downtime.php index 3af29beee5..12465158e6 100644 --- a/pandora_console/godmode/agentes/planned_downtime.php +++ b/pandora_console/godmode/agentes/planned_downtime.php @@ -201,14 +201,14 @@ if ($create_downtime || $update_downtime) { print_select_from_sql ("SELECT id_grupo, nombre FROM tgrupo WHERE id_grupo > 1", "filter_group", $filter_group, '', __("Any"), -1, false, false); echo "

"; - echo print_submit_button (__('Filter by group'), '', false, 'class="sub next"',false); + print_submit_button (__('Filter by group'), '', false, 'class="sub next"',false); echo ""; echo "
"; echo print_select ($data, "id_agent[]", '', '', '', 0, false, true); echo "


"; - echo print_submit_button (__('Add'), '', false, 'class="sub next"',false); + print_submit_button (__('Add'), '', false, 'class="sub next"',false); echo "
"; echo ""; diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index 65f13596f4..4f46c0bda6 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -76,8 +76,8 @@ if ($create_layout) { } if ($delete_layout) { - process_sql_delete ('tlayout_data', array ('id_layout', $id_layout)); - $result = process_sql_delete ('tlayout', array ('id', $id_layout)); + process_sql_delete ('tlayout_data', array ('id_layout' => $id_layout)); + $result = process_sql_delete ('tlayout', array ('id' => $id_layout)); if ($result) { echo '

'.__('Deleted successfully').'

'; } else { diff --git a/pandora_console/install.php b/pandora_console/install.php index 06af76861a..28b0ad1d87 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -452,8 +452,8 @@ $config["homeurl"]="'.$url.'"; // Base URL if (mysql_error() != "") echo "
ERROR: ". mysql_error().".
"; - - mysql_query ("DROP DATABASE $dbname"); + if ($step1 == 1) + mysql_query ("DROP DATABASE $dbname"); } echo "