diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 60a98603b2..421a59bea3 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,5 +1,8 @@ 2009-12-28 Sancho Lerena + * module_manager_editor_common.php: Latest changes from mdtrooper break + some code, reverted specific changes in order to work. + * pandoradb.sql: tnetwork_component double(18,13) -> double (18,3) by a typo !¡¿?. That is the type for tagente_modulo. diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index de49528de8..0cf4c3fd04 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -125,9 +125,8 @@ $table_simple->data[0][2] = __('Disabled'); $table_simple->data[0][3] = print_checkbox ("disabled", 1, $disabled, true); $table_simple->data[1][0] = __('Type').' '.print_help_icon ('module_type', true); -if (isset($id_agent_module)) { - if ($id_agent_module) - $table_simple->data[1][1] = ''.get_moduletype_description ($id_module_type).''; +if ($id_agent_module) { + $table_simple->data[1][1] = ''.get_moduletype_description ($id_module_type).''; } else { $sql = sprintf ('SELECT id_tipo, descripcion