Aggiunto blocco Aggiornamenti

This commit is contained in:
Thomas Zilio 2018-06-29 18:32:39 +02:00
parent cec0d1d7a9
commit 45d531dc87
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ switch (post('op')) {
break;
case 'disable':
$dbo->query('UPDATE `zz_modules` SET `enabled` = 0 WHERE `id` = '.prepare($id).' OR `parent` = '.prepare($id));
$dbo->query('UPDATE `zz_modules` SET `enabled` = 0 WHERE (`id` = '.prepare($id).' OR `parent` = '.prepare($id).') AND `id` != '.prepare(Modules::get('Aggiornamenti')['id']));
$_SESSION['infos'][] = tr('Modulo _MODULE_ disabilitato!', [
'_MODULE_' => '"'.Modules::get($id)['name'].'"',