mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-23 20:30:51 +01:00
Fix upload file
This commit is contained in:
parent
306a1897d5
commit
bd27c57e06
@ -75,7 +75,7 @@ class Upload extends Model
|
||||
|
||||
// Informazioni di base
|
||||
$name = $data['name'] ?? $name;
|
||||
$name ??= basename($source);
|
||||
$name ??= basename($source['name']);
|
||||
$original_name = $source['name'] ?? $name;
|
||||
$category = $data['category'] ?? $category;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user