mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 11:30:55 +01:00
Fix modifica nome allegati
This commit is contained in:
parent
4fdb6a6c94
commit
e8cf2a53e2
@ -221,7 +221,7 @@ elseif (filter('op') == 'modifica-allegato') {
|
||||
|
||||
if (sizeof($id_allegati) == 1) {
|
||||
$upload = Upload::find($id_allegati[0]);
|
||||
$upload->setTranslation('title', post('nome_allegato'));
|
||||
$upload->name = post('nome_allegato');
|
||||
$upload->category = post('categoria_allegato');
|
||||
$upload->save();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user