From bba0be9fe7c9140362c5dbc1e8328314e6836bb3 Mon Sep 17 00:00:00 2001 From: kevin_fourie Date: Wed, 16 Jan 2008 09:55:59 +0000 Subject: [PATCH] Merged in from DEV trunk... --- lib/documentmanagement/documentmetadataversion.inc.php | 4 ++-- lib/help/helpreplacement.inc.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/documentmanagement/documentmetadataversion.inc.php b/lib/documentmanagement/documentmetadataversion.inc.php index 3c2c9fe..27e86f3 100644 --- a/lib/documentmanagement/documentmetadataversion.inc.php +++ b/lib/documentmanagement/documentmetadataversion.inc.php @@ -97,9 +97,9 @@ class KTDocumentMetadataVersion extends KTEntity { function getDocumentTypeId() { return $this->iDocumentTypeId; } function setDocumentTypeId($iNewValue) { $this->iDocumentTypeId = $iNewValue; } function getName() { return sanitizeForSQLtoHTML($this->sName); } - function setName($sNewValue) { $this->sName = sanitizeForSQL($sNewValue); } + function setName($sNewValue) { $this->sName = $sNewValue; } function getDescription() { return sanitizeForSQLtoHTML($this->sDescription); } - function setDescription($sNewValue) { $this->sDescription = sanitizeForSQL($sNewValue); } + function setDescription($sNewValue) { $this->sDescription = $sNewValue; } function getStatusId() { return $this->iStatusId; } function setStatusId($iNewValue) { $this->iStatusId = $iNewValue; } function getVersionCreated() { return $this->dVersionCreated; } diff --git a/lib/help/helpreplacement.inc.php b/lib/help/helpreplacement.inc.php index 018e0f7..33cd1f9 100644 --- a/lib/help/helpreplacement.inc.php +++ b/lib/help/helpreplacement.inc.php @@ -55,9 +55,9 @@ class KTHelpReplacement extends KTEntity { function getDescription() { return sanitizeForSQLtoHTML($this->sDescription); } function getTitle() { return sanitizeForSQLtoHTML($this->sTitle); } function setID($iId) { $this->iId = $iId; } - function setName($sName) { $this->sName = sanitizeForSQL($sName); } - function setDescription($sDescription) { $this->sDescription = sanitizeForSQL($sDescription); } - function setTitle($sTitle) { $this->sTitle= sanitizeForSQL($sTitle); } + function setName($sName) { $this->sName = $sName; } + function setDescription($sDescription) { $this->sDescription = $sDescription; } + function setTitle($sTitle) { $this->sTitle= $sTitle; } function _table () { global $default; -- libgit2 0.21.4