aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-05-06 11:55:27 -0300
committerSilvio <silvio@devlet.com.br>2010-05-06 11:55:27 -0300
commit3fe5626706870c2f078dd7233d60b59290622346 (patch)
tree4549cf6aab27cbe616390f8489179ef58b367ed8 /tests
parent55652f80494658bf685c2101c6be2abd793592d6 (diff)
downloadcinisis-3fe5626706870c2f078dd7233d60b59290622346.tar.gz
cinisis-3fe5626706870c2f078dd7233d60b59290622346.tar.bz2
Minor fix at CSV export
Diffstat (limited to 'tests')
-rw-r--r--tests/csv.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/csv.php b/tests/csv.php
index 070ee2f..1d3c5cb 100644
--- a/tests/csv.php
+++ b/tests/csv.php
@@ -42,7 +42,7 @@ if ($isis->db) {
echo "\n";
// Format output.
- for ($n=1; $n <= $n; $n++) {
+ for ($n=1; $n <= $rows; $n++) {
$result = $isis->db->read($n);
foreach ($format['fields'] as $field) {
if (is_array($result[$field['name']])) {