bad comma

This commit is contained in:
2023-09-29 17:03:11 +10:00
parent e0650da5e9
commit 52f7070311

View File

@@ -818,7 +818,7 @@ class Media extends Model
$fileSystem->putFileAs('/', new SplFileInfo($tempImagePath), $newFilename); $fileSystem->putFileAs('/', new SplFileInfo($tempImagePath), $newFilename);
unlink($tempImagePath); unlink($tempImagePath);
$this->thumbnail = $this->getUrlPath(['name', $newFilename]); $this->thumbnail = $this->getUrlPath(['name' => $newFilename]);
} else { } else {
$iconExtension = 'unknown'; $iconExtension = 'unknown';
if ($fileExtension !== '') { if ($fileExtension !== '') {