Fix caricamento immagine in articoli

This commit is contained in:
Pek5892 2024-04-29 08:59:10 +02:00
parent 894e3aea5a
commit 9333c2c119
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ switch (post('op')) {
}
// Eliminazione file
if (post('delete_immagine') !== null) {
if (!empty(post('delete_immagine'))) {
Uploads::delete($record['immagine'], [
'id_module' => $id_module,
'id_record' => $id_record,