Commit 3096793b340ead9c3683617628f9a5190a5ad11a

Authored by kevin_fourie
1 parent 67f92c03

Merged in from DEV trunk...

KTS-2790
"CLONE -Backslashes appear before every quote and double quote throughout our version of knowledgetree(SUP-532)"
Fixed. Removed the sanitiseForSql function call.

Committed by: Megan Watson
Reviewed by: Kevin Fourie


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.4.6-Release-Branch@7938 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktcore/folder/addDocument.php
... ... @@ -281,7 +281,7 @@ class KTFolderAddDocumentAction extends KTFolderAction {
281 281 );
282 282  
283 283 $aFile = $this->oValidator->validateFile($extra_d['file'], $aErrorOptions);
284   - $sTitle = sanitizeForSQL($extra_d['document_name']);
  284 + $sTitle = $extra_d['document_name'];
285 285  
286 286 $iFolderId = $this->oFolder->getId();
287 287 $aOptions = array(
... ...