mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
added additional check for token
This commit is contained in:
parent
93473de7c6
commit
84d768853a
@ -726,7 +726,7 @@ sub pandora_checkdb_consistency {
|
||||
# 1. Check for modules that do not have tagente_estado but have
|
||||
# tagente_module
|
||||
#-------------------------------------------------------------------
|
||||
if (defined($conf->{'_delete_notinit'}) && $conf->{'_delete_notinit'} == 1) {
|
||||
if (defined($conf->{'_delete_notinit'}) && $conf->{'_delete_notinit'} ne "" && $conf->{'_delete_notinit'} == 1) {
|
||||
log_message ('CHECKDB', "Deleting not-init data.");
|
||||
my @modules = get_db_rows ($dbh,
|
||||
'SELECT id_agente_modulo, id_agente
|
||||
|
Loading…
x
Reference in New Issue
Block a user