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:
Jeff Whitfield 2016-01-21 18:39:50 -06:00
parent b17fde4978
commit 961de53364
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);