Potenziale fix per #1501

This commit is contained in:
FabioL 2024-09-14 16:14:23 +02:00
parent 4678f8ac5f
commit 5d2be71108
1 changed files with 1 additions and 1 deletions

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