Mercurial > hg > fapweb
changeset 653:5ed91fb08165
Possibly fix an SQL syntax incompability SQLite vs. Postgres.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Nov 2014 04:19:24 +0200 |
parents | 1a49315995e3 |
children | f416330b8792 |
files | print.php |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/print.php Mon Nov 03 04:10:40 2014 +0200 +++ b/print.php Mon Nov 03 04:19:24 2014 +0200 @@ -57,7 +57,7 @@ // // Generic e-mail data dump // - $sql = "SELECT * FROM attendees WHERE email NOT NULL AND email != '' ORDER BY regtime DESC"; + $sql = "SELECT * FROM attendees WHERE email IS NOT NULL AND email != '' ORDER BY regtime DESC"; if (($res = stExecSQL($sql)) !== FALSE) { cmPrintPageHeader("E-mails");