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:
Daniel Hensby 2016-01-22 12:19:48 +00:00
commit 8a7d25c1af
1 changed files with 1 additions and 1 deletions

View File

@ -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);