Update edit.php

This commit is contained in:
Luca 2018-11-26 14:44:12 +01:00
parent 08d0748b3d
commit 836a0729a8
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if (!empty($record['immagine'])) {
$default_img = '/'.Uploads::getDirectory($id_module).'/'.$fileinfo['filename'].'_thumb600.'.$fileinfo['extension'];
$img = file_exists(DOCROOT.$default_img) ? ROOTDIR.$default_img : ROOTDIR.'/'.Uploads::getDirectory($id_module).'/'.$record['immagine01'];
$img = file_exists(DOCROOT.$default_img) ? ROOTDIR.$default_img : ROOTDIR.'/'.Uploads::getDirectory($id_module).'/'.$record['immagine'];
}
?><form action="" method="post" id="edit-form" enctype="multipart/form-data">