From 961de53364b38a2c421b3dffceda881d2bb9d17a Mon Sep 17 00:00:00 2001 From: Jeff Whitfield Date: Thu, 21 Jan 2016 18:39:50 -0600 Subject: [PATCH] Fixed issue with folder path not being stored with document. Value must be set as a string before being saved to the database. --- code/model/DMSDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/DMSDocument.php b/code/model/DMSDocument.php index 730911a..25522b2 100644 --- a/code/model/DMSDocument.php +++ b/code/model/DMSDocument.php @@ -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);