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