changeset 75:699f6db022d9

Cosmetic reorder of checks.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 17 Oct 2013 17:09:19 +0300
parents 02de5197a232
children 78893039b1f6
files ajax.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)",