mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Merge pull request #75 from jeffwhitfield/66-folder-value-string-casting
Fixed issue with folder path not being stored with document.
This commit is contained in:
commit
8a7d25c1af
@ -808,7 +808,7 @@ class DMSDocument extends DataObject implements DMSDocumentInterface
|
|||||||
|
|
||||||
//write the filename of the stored document
|
//write the filename of the stored document
|
||||||
$this->Filename = $toFilename;
|
$this->Filename = $toFilename;
|
||||||
$this->Folder = $toFolder;
|
$this->Folder = strval($toFolder);
|
||||||
|
|
||||||
$extension = pathinfo($this->Filename, PATHINFO_EXTENSION);
|
$extension = pathinfo($this->Filename, PATHINFO_EXTENSION);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user