aboutsummaryrefslogtreecommitdiff
path: root/src/fclar.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/fclar.php')
-rw-r--r--src/fclar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fclar.php b/src/fclar.php
index 39084bc..fd99c53 100644
--- a/src/fclar.php
+++ b/src/fclar.php
@@ -255,7 +255,7 @@ function DBNewClar($param,$c=null) {
MSGError("DBNewClar param error: $key is not numeric");
return false;
}
- $$key = sanitizeText($param[$key]);
+ $$key = myhtmlspecialchars($param[$key]);
}
$t = time();
$clarnumber=-1;
@@ -269,7 +269,7 @@ function DBNewClar($param,$c=null) {
$clarstatus='openclar';
foreach($ac1 as $key) {
if(isset($param[$key])) {
- $$key = sanitizeText($param[$key]);
+ $$key = myhtmlspecialchars($param[$key]);
if(isset($type[$key]) && !is_numeric($param[$key])) {
MSGError("DBNewClar param error: $key is not numeric");
return false;