mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed bug in modules deletion: parent id set to 0 in case parent has been deleted
This commit is contained in:
parent
9d896de41a
commit
e45dc3a981
@ -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…
x
Reference in New Issue
Block a user