Fix for registration
[mailer.git] / inc / modules / guest / what-register.php
index eaad356ca9084a95b3ff98adae6550de714d7ffa..59ffc72e760046b2cddf5d194575dcf238e4fba4 100644 (file)
@@ -325,7 +325,7 @@ array(
                break;
 
        default:
                break;
 
        default:
-               $DATA['birthday'] = bigintval($_POST['month']."/".bigintval($_POST['day'])."/".bigintval($_POST['year']);
+               $DATA['birthday'] = bigintval($_POST['month'])."/".bigintval($_POST['day'])."/".bigintval($_POST['year']);
                break;
        }
 
                break;
        }
 
@@ -416,10 +416,10 @@ array(
        }
 
        // Adds a table for the guests with all visible categories
        }
 
        // Adds a table for the guests with all visible categories
-       define ('CATEGORY_SELECTION', REGISTER_ADD_CATEGORY_TABLE("guest", true));
+       define('CATEGORY_SELECTION', REGISTER_ADD_CATEGORY_TABLE("guest", true));
 
        // Adds maximum receiveable mails list... :)
 
        // Adds maximum receiveable mails list... :)
-       define ('MAX_RECEIVE_LIST', ADD_MAX_RECEIVE_LIST("guest", "", true));
+       define('MAX_RECEIVE_LIST', ADD_MAX_RECEIVE_LIST("guest", "", true));
 
        // Check if nickname extension is active and get state if nickname is selected or userid
        $nick = false;
 
        // Check if nickname extension is active and get state if nickname is selected or userid
        $nick = false;
@@ -443,7 +443,7 @@ array(
                define('REFID_CONTENT', LOAD_TEMPLATE("guest_register_refid", true, $GLOBALS['refid']));
        } else {
                // Load "hide" form template
                define('REFID_CONTENT', LOAD_TEMPLATE("guest_register_refid", true, $GLOBALS['refid']));
        } else {
                // Load "hide" form template
-               define ('REFID_CONTENT', LOAD_TEMPLATE("guest_register_refid_hide", true, $GLOBALS['refid']));
+               define('REFID_CONTENT', LOAD_TEMPLATE("guest_register_refid_hide", true, $GLOBALS['refid']));
        }
 
        // You may want to modify the register_header.tpl.xx file and not this script when you add your scripts etc. :-)
        }
 
        // You may want to modify the register_header.tpl.xx file and not this script when you add your scripts etc. :-)