Commit bba0be9fe7c9140362c5dbc1e8328314e6836bb3

Authored by kevin_fourie
1 parent 3a7a969e

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 on the set functions.
(Added previously missed 7855 revision files - kgf)

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.4.6-Release-Branch@7921 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/documentmanagement/documentmetadataversion.inc.php
@@ -97,9 +97,9 @@ class KTDocumentMetadataVersion extends KTEntity { @@ -97,9 +97,9 @@ class KTDocumentMetadataVersion extends KTEntity {
97 function getDocumentTypeId() { return $this->iDocumentTypeId; } 97 function getDocumentTypeId() { return $this->iDocumentTypeId; }
98 function setDocumentTypeId($iNewValue) { $this->iDocumentTypeId = $iNewValue; } 98 function setDocumentTypeId($iNewValue) { $this->iDocumentTypeId = $iNewValue; }
99 function getName() { return sanitizeForSQLtoHTML($this->sName); } 99 function getName() { return sanitizeForSQLtoHTML($this->sName); }
100 - function setName($sNewValue) { $this->sName = sanitizeForSQL($sNewValue); } 100 + function setName($sNewValue) { $this->sName = $sNewValue; }
101 function getDescription() { return sanitizeForSQLtoHTML($this->sDescription); } 101 function getDescription() { return sanitizeForSQLtoHTML($this->sDescription); }
102 - function setDescription($sNewValue) { $this->sDescription = sanitizeForSQL($sNewValue); } 102 + function setDescription($sNewValue) { $this->sDescription = $sNewValue; }
103 function getStatusId() { return $this->iStatusId; } 103 function getStatusId() { return $this->iStatusId; }
104 function setStatusId($iNewValue) { $this->iStatusId = $iNewValue; } 104 function setStatusId($iNewValue) { $this->iStatusId = $iNewValue; }
105 function getVersionCreated() { return $this->dVersionCreated; } 105 function getVersionCreated() { return $this->dVersionCreated; }
lib/help/helpreplacement.inc.php
@@ -55,9 +55,9 @@ class KTHelpReplacement extends KTEntity { @@ -55,9 +55,9 @@ class KTHelpReplacement extends KTEntity {
55 function getDescription() { return sanitizeForSQLtoHTML($this->sDescription); } 55 function getDescription() { return sanitizeForSQLtoHTML($this->sDescription); }
56 function getTitle() { return sanitizeForSQLtoHTML($this->sTitle); } 56 function getTitle() { return sanitizeForSQLtoHTML($this->sTitle); }
57 function setID($iId) { $this->iId = $iId; } 57 function setID($iId) { $this->iId = $iId; }
58 - function setName($sName) { $this->sName = sanitizeForSQL($sName); }  
59 - function setDescription($sDescription) { $this->sDescription = sanitizeForSQL($sDescription); }  
60 - function setTitle($sTitle) { $this->sTitle= sanitizeForSQL($sTitle); } 58 + function setName($sName) { $this->sName = $sName; }
  59 + function setDescription($sDescription) { $this->sDescription = $sDescription; }
  60 + function setTitle($sTitle) { $this->sTitle= $sTitle; }
61 61
62 function _table () { 62 function _table () {
63 global $default; 63 global $default;