aboutsummaryrefslogtreecommitdiff
path: root/classes/PhpIsisDb.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-05-06 16:47:07 -0300
committerSilvio <silvio@devlet.com.br>2010-05-06 16:47:07 -0300
commit2b47f07b04bd346539bf10347e72a9a92873120c (patch)
tree4758fc2cd92d1678e2c0404a5698a452d91993e8 /classes/PhpIsisDb.php
parent3fe5626706870c2f078dd7233d60b59290622346 (diff)
downloadcinisis-2b47f07b04bd346539bf10347e72a9a92873120c.tar.gz
cinisis-2b47f07b04bd346539bf10347e72a9a92873120c.tar.bz2
Charset conversion fixes
Diffstat (limited to 'classes/PhpIsisDb.php')
-rw-r--r--classes/PhpIsisDb.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/PhpIsisDb.php b/classes/PhpIsisDb.php
index 1f64075..50fdf49 100644
--- a/classes/PhpIsisDb.php
+++ b/classes/PhpIsisDb.php
@@ -131,7 +131,7 @@ class PhpIsisDb implements IsisDb {
* @return
* String converted to UTF-8.
*/
- function charset($data) {
- return iconv($data, $this->format['db']['charset'], 'UTF-8');
- }
+ function charset(&$data) {
+ $data = iconv($this->format['db']['charset'], 'UTF-8', $data);
+ }
}