]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
Fix for fatal error and naming convention applied
[mailer.git] / inc / modules / guest / what-register.php
index d1fcfb1cd2c8178c00e7afea645d8e9ee40b9365..34b985cf9955b2232ec93cc78ea75c94a3f36dec 100644 (file)
@@ -53,7 +53,7 @@ global $DATA;
 // Initialize variables
 $isFailed = false; $SHORT_PASS = false; $cats = 0; $IP_TIMEOUT = false;
 
-if (!IS_FORM_SENT()) REQUEST_UNSET_POST('ok');
+if (!isFormSent()) REQUEST_UNSET_POST('ok');
 
 if (!REQUEST_ISSET_POST(('agree')))        REQUEST_SET_POST('agree'       , '');
 if (!REQUEST_ISSET_POST(('addy')))         REQUEST_SET_POST('addy'        , '');
@@ -90,7 +90,7 @@ if ($GLOBALS['refid'] > 0) {
        }
 } // END - if
 
-if (IS_FORM_SENT()) {
+if (isFormSent()) {
        // First we only check the submitted data then we continue... :)
        //
        // Did he agree to our Terms Of Usage?
@@ -176,7 +176,7 @@ if (IS_FORM_SENT()) {
        SQL_FREERESULT($result);
 }
 
-if ((IS_FORM_SENT()) && (($isFailed === false) || (IS_ADMIN()))) {
+if ((isFormSent()) && (($isFailed === false) || (IS_ADMIN()))) {
        // Prepapre month and day of birth
        if (strlen(REQUEST_POST('day'))   == 1) REQUEST_SET_POST('day'  , '0'.REQUEST_POST('day'));
        if (strlen(REQUEST_POST('month')) == 1) REQUEST_SET_POST('month', '0'.REQUEST_POST('month'));