summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index ced925b..512cd4c 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -249,7 +249,7 @@ function _set($tags, $allfields = false)
else if ($allfields || ($value !== $this->_data[$field]))
{
if ($this->_p['charset'] == "utf8") # NOTE: Mysql charset is simply utf8, not utf-8
- $value = it_html::fix_encoding($value);
+ $value = it::any2utf8($value, "error in db-field $field");
$r[] = "`$field`=".(isset($value) ? $this->escape_string($value) : 'NULL');
}
}