aboutsummaryrefslogtreecommitdiff
path: root/tests/csv.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/csv.php')
-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']])) {