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:
parent
4678f8ac5f
commit
5d2be71108
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user