mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Fixed issue with folder path not being stored with document. Value must be set as a string before being saved to the database.
This commit is contained in:
parent
b17fde4978
commit
961de53364
@ -808,7 +808,7 @@ class DMSDocument extends DataObject implements DMSDocumentInterface
|
||||
|
||||
//write the filename of the stored document
|
||||
$this->Filename = $toFilename;
|
||||
$this->Folder = $toFolder;
|
||||
$this->Folder = strval($toFolder);
|
||||
|
||||
$extension = pathinfo($this->Filename, PATHINFO_EXTENSION);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user