summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/SQL.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SQL.cc b/lib/SQL.cc
index e11b78b..d619d72 100644
--- a/lib/SQL.cc
+++ b/lib/SQL.cc
@@ -101,7 +101,7 @@ AssocArray SQLConnection::fetchrow() {
r[fields[i].name] = row[i] ? row[i] : "NULL";
}
- nf--;
+ nr--;
}
return r;