Fix rimozione Logo stampe

This commit is contained in:
Thomas Zilio 2019-07-25 16:03:32 +02:00
parent d6149265bf
commit d2ad9914f2
1 changed files with 8 additions and 0 deletions

View File

@ -271,3 +271,11 @@ if (filter('op') == 'link_file') {
Settings::setValue($nome, $upload); Settings::setValue($nome, $upload);
} }
} }
// Operazioni aggiuntive per il logo
elseif (filter('op') == 'unlink_file') {
$nome = 'Logo stampe';
if (setting('Azienda predefinita') == $id_record && filter('filename') == setting($nome)) {
Settings::setValue($nome, '');
}
}