Update edit.php
This commit is contained in:
parent
08d0748b3d
commit
836a0729a8
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue