aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-04-01 14:02:19 -0300
committerSilvio <silvio@devlet.com.br>2010-04-01 14:02:19 -0300
commit31441a10ac0ef65e1d7a3b8c0c24c2efec85bfef (patch)
treeea48888ad045e734f575fa5f04107910bf796175
parent0e67880b97909c08021ef5fa1075082cfc9b6e26 (diff)
downloadcinisis-31441a10ac0ef65e1d7a3b8c0c24c2efec85bfef.tar.gz
cinisis-31441a10ac0ef65e1d7a3b8c0c24c2efec85bfef.tar.bz2
Minor fixes
-rw-r--r--classes/PhpIsisDb.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/PhpIsisDb.php b/classes/PhpIsisDb.php
index b8f6566..9807c0d 100644
--- a/classes/PhpIsisDb.php
+++ b/classes/PhpIsisDb.php
@@ -50,11 +50,14 @@ class PhpIsisDb implements IsisDb {
return FALSE;
}
+ // Tag results
+ $data = $this->tag(isis_fetch_array($results));
+
// Charset conversion.
array_walk_recursive($data, array('PhpIsisDb', 'charset'));
// Return the result.
- return $this->tag(isis_fetch_array($results));
+ return $data;
}
/**
@@ -106,13 +109,10 @@ class PhpIsisDb implements IsisDb {
* @param $data
* String to be converted.
*
- * @param $count
- * Data index. Currently unused.
- *
* @return
* String converted to UTF-8.
*/
- function charset($data, $count) {
+ function charset($data) {
return iconv($data, $this->format['db']['charset'], 'UTF-8');
}
}