]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/register_functions.php
Fix for cache loader
[mailer.git] / inc / libs / register_functions.php
index 5837b848ebc0530d3b4f3be987e92c42fe285b2b..4ae9dba3bad6d038bcc9b84e5f716009e6f525e3 100644 (file)
@@ -54,7 +54,7 @@ function REGISTER_FILL_MUST_CONSTANTS()
        SQL_FREERESULT($result);
 
        // Also fill other constants
-       define('MUST_SEX'   , "<FONT class=\"guest_failed\">&nbsp;(*)</FONT>");
+       define('MUST_GENDER', "<FONT class=\"guest_failed\">&nbsp;(*)</FONT>");
        define('MUST_ADDY'  , "<FONT class=\"guest_failed\">&nbsp;(*)</FONT>");
        define('MUST_BIRTH' , "<FONT class=\"guest_failed\">&nbsp;(*)</FONT>");
        define('MUST_MARKER', "<FONT class=\"guest_failed\">&nbsp;(*)</FONT>");
@@ -63,7 +63,7 @@ function REGISTER_FILL_MUST_CONSTANTS()
 function REGISTER_CHECK_REQUIRED_FIELDS(&$array)
 {
        $ret = false;
-       foreach ($array as $key=>$value)
+       foreach ($array as $key => $value)
        {
                $result = SQL_QUERY("SELECT field_required FROM "._MYSQL_PREFIX."_must_register WHERE field_name='".$key."' LIMIT 1", __FILE__, __LINE__);
                if (SQL_NUMROWS($result) == 1)