1
0
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:
valentina 2024-09-03 11:26:05 +02:00
parent 306a1897d5
commit bd27c57e06

View File

@ -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;