diff pages/register.inc.php @ 716:e7fbcf4190e6

Add registration host.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 12 Nov 2014 16:31:35 +0200
parents 014244a01d17
children 26a168d3390f
line wrap: on
line diff
--- a/pages/register.inc.php	Wed Nov 12 04:37:50 2014 +0200
+++ b/pages/register.inc.php	Wed Nov 12 16:31:35 2014 +0200
@@ -181,10 +181,7 @@
   else
   if ($mode == "register")
   {
-    $sql = stPrepareSQL(
-      "INSERT INTO attendees (regtime,name,groups,oneliner,email) VALUES (%d,%S,%S,%S,%S)",
-      time(), "name", "groups", "oneliner", "email");
-
+    $sql = stGetAttendeeRegistrationSQL();
     if (stExecSQL($sql) !== FALSE)
     {
       echo stGetSetting("registerPostText");