diff --git a/pandora_server/util/pandora_db.pl b/pandora_server/util/pandora_db.pl index 0981047598..4dfa70a602 100644 --- a/pandora_server/util/pandora_db.pl +++ b/pandora_server/util/pandora_db.pl @@ -297,7 +297,9 @@ sub pandora_purgedb ($$) { my $buffer = 1000; my $id_module = $module->{'id_agente_modulo'}; - + + db_do ($dbh, 'UPDATE tagente_modulo SET parent_module_id=0 WHERE parent_module_id=?', $id_module); + log_message ('', "."); while(1) {