diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index da63fdcebb..7812e141af 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2009-11-25 Miguel de Dios + + * include/functions_modules.php: fix the deletion of module in the function + "delete_agent_module" for change the name to avoid the row collision. This + change is advised by Sancho lerena. + 2009-11-25 Miguel de Dios * include/functions_io.php, include/functions.php: change and add functions diff --git a/pandora_console/include/functions_modules.php b/pandora_console/include/functions_modules.php index cda87d9e25..8804da3f28 100644 --- a/pandora_console/include/functions_modules.php +++ b/pandora_console/include/functions_modules.php @@ -126,7 +126,7 @@ function delete_agent_module ($id_agent_module) { process_sql_delete ('tlayout_data', $where); process_sql_delete ('tagente_estado', $where); process_sql_update ('tagente_modulo', - array ('delete_pending' => 1, 'disabled' => 1), + array ('nombre' => 'delete_pending', 'delete_pending' => 1, 'disabled' => 1), $where); return true;