Merge branch '2677-no-se-elimina-parent-id-entre-modulos-del-mismo-agente' into 'develop'
Fixed bug in modules deletion: parent id set to 0 in case parent has been deleted See merge request artica/pandorafms!1961
This commit is contained in:
commit
72691ffe8d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue