Mercurial > hg > fapweb
changeset 648:9e4b8df65879
Oops, fix a 10L.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Nov 2014 03:26:16 +0200 |
parents | 60b51ab059da |
children | a9d10fa6c890 |
files | msite.inc.php |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/msite.inc.php Mon Nov 03 03:17:17 2014 +0200 +++ b/msite.inc.php Mon Nov 03 03:26:16 2014 +0200 @@ -342,14 +342,14 @@ // Or just exists, if adding $sql = stPrepareSQL("SELECT * FROM attendees WHERE name=%s AND groups=%s", $name, $groups); - if (($res = stFetchSQL($sql)) !== false) + if (($data = stFetchSQL($sql)) !== false) { stError("Someone with the same name and groups is already registered."); $res = FALSE; } } - return $res; + }