]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
Rewrite of all mail templates with user data to new 'tag-like' functionality
[mailer.git] / inc / modules / guest / what-register.php
index 60409b2b6ec747f6203b72f4b213b2f11afeeb8a..ee7f7de2dc73e9cd608e8f74e62910bd9d95c3fe 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/10/2003 *
- * ===============                              Last change: 11/26/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 10/10/2003 *
+ * ===================                          Last change: 11/26/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-register.php                                *
@@ -140,8 +140,7 @@ if (isFormSent()) {
 
        if ((postRequestElement('email') != '!') && (getConfig('check_double_email') == 'Y')) {
                // Does the email address already exists in our database?
-               $CHK = isEmailTaken(postRequestElement('email'));
-               if ($CHK === true) {
+               if ((!isAdmin()) && (isEmailTaken(postRequestElement('email')))) {
                        setRequestPostElement('email', '?');
                        $isOkay = false;
                } // END - if