Commit 77d35c45ab90aef054c06f4bc305a3a976df0f6f

Authored by kevin_fourie
1 parent 3096793b

Merged in from DEV trunk...

KTS-2737
"Folder util sanitises too much which results in additional slashes being added to the database"
Updated.

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.4.6-Release-Branch@7940 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/foldermanagement/Folder.inc
... ... @@ -76,10 +76,10 @@ class Folder extends KTEntity {
76 76 // }}}
77 77  
78 78 function getID() { return $this->iId; }
79   - function getName() { return sanitizeForSQLtoHTML($this->sName); }
80   - function setName($sNewValue) { $this->sName = sanitizeForSQL($sNewValue); }
81   - function getDescription() { return sanitizeForSQLtoHTML($this->sDescription); }
82   - function setDescription($sNewValue) { $this->sDescription = sanitizeForSQL($sNewValue); }
  79 + function getName() { return ($this->sName); }
  80 + function setName($sNewValue) { $this->sName = ($sNewValue); }
  81 + function getDescription() { return ($this->sDescription); }
  82 + function setDescription($sNewValue) { $this->sDescription = ($sNewValue); }
83 83 function getParentID() { return $this->iParentID; }
84 84 function setParentID($iNewValue) { $this->iParentID = $iNewValue; }
85 85 function getCreatorID() { return $this->iCreatorID; }
... ...