Skip to content

Commit 1379a34

Browse files
committed
Fixed auto title generation when uploading a file
1 parent d161d81 commit 1379a34

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • core/components/fileman/src/Processors/File

core/components/fileman/src/Processors/File/Upload.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ public function process()
198198
$fileObject = $this->modx->newObject(File::class, array(
199199
'fid' => $fid,
200200
'resource_id' => $resourceId,
201+
'title'=> $title,
201202
'name' => $nameWithoutExtension . '.' . $extension,
202203
'internal_name' => $internalName,
203204
'extension' => $extension,

0 commit comments

Comments
 (0)