1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-07 13:22:15 +01:00

Potenziale fix per #1501

This commit is contained in:
FabioL 2024-09-14 16:14:23 +02:00
parent 4678f8ac5f
commit 5d2be71108

View File

@ -140,7 +140,7 @@ class Uploads
public static function fileInfo($filepath)
{
$infos = pathinfo($filepath);
$infos['extension'] = strtolower($infos['extension']);
$infos['extension'] = strtolower($infos['extension'] ?? '');
return $infos;
}