mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 04:20:50 +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)
|
public static function fileInfo($filepath)
|
||||||
{
|
{
|
||||||
$infos = pathinfo($filepath);
|
$infos = pathinfo($filepath);
|
||||||
$infos['extension'] = strtolower($infos['extension']);
|
$infos['extension'] = strtolower($infos['extension'] ?? '');
|
||||||
|
|
||||||
return $infos;
|
return $infos;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user