diff options
author | Pixel <pixel@nobis-crew.org> | 2008-09-29 08:25:06 +0200 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2008-09-29 08:25:06 +0200 |
commit | 20c55fdf87d8887c4922aa8915449715b98d37e3 (patch) | |
tree | 126cbb5732ecbca0e7a6a9b2ff24603360a6e7ed /lib/SQL.cc | |
parent | c24d1aa0df1df41f24d747c96420e17c27dccea4 (diff) |
Quick-fix for MySQL NULL values.
Diffstat (limited to 'lib/SQL.cc')
-rw-r--r-- | lib/SQL.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ AssocArray SQLConnection::fetchrow() { if (row) { for (i = 0; i < nf; i++) { - r[fields[i].name] = row[i]; + r[fields[i].name] = row[i] ? row[i] : "NULL"; } } |