diff --git a/plugins/ktcore/folder/addDocument.php b/plugins/ktcore/folder/addDocument.php index e714980..964ff82 100644 --- a/plugins/ktcore/folder/addDocument.php +++ b/plugins/ktcore/folder/addDocument.php @@ -281,7 +281,7 @@ class KTFolderAddDocumentAction extends KTFolderAction { ); $aFile = $this->oValidator->validateFile($extra_d['file'], $aErrorOptions); - $sTitle = sanitizeForSQL($extra_d['document_name']); + $sTitle = $extra_d['document_name']; $iFolderId = $this->oFolder->getId(); $aOptions = array(