# HG changeset patch # User Matti Hamalainen # Date 1382018959 -10800 # Node ID 699f6db022d98ddbf5e26cf9fa4380c874cfd618 # Parent 02de5197a232ca0ef30b7a45b7a3d1f0a1f23eef Cosmetic reorder of checks. diff -r 02de5197a232 -r 699f6db022d9 ajax.php --- a/ajax.php Thu Oct 17 15:02:00 2013 +0300 +++ b/ajax.php Thu Oct 17 17:09:19 2013 +0300 @@ -319,8 +319,8 @@ } else if ($type == "attendees" && stChkRequestItem("name") && - stChkRequestItem("groups") && stChkRequestItem("email") && - stChkRequestItem("oneliner")) + stChkRequestItem("groups") && stChkRequestItem("oneliner") && + stChkRequestItem("email")) { $sql = stPrepareSQL( "INSERT INTO attendees (regtime,name,groups,oneliner,email) VALUES (%d,%S,%S,%S,%S)",