]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-sponsor_reg.php
Introduced new wrapper functions to make the code more readable, new extension ext...
[mailer.git] / inc / modules / guest / what-sponsor_reg.php
index 10f1c8c9371aac664b7eda3111f52cdd30c61ce5..f1ccf3837a93c83af396a725ba971937993a860b 100644 (file)
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -198,7 +199,7 @@ if (isFormSent()) {
        if (count($FORM_ERRORS) > 0) unsetPostRequestParameter('ok');
 }
 
-if ((isFormSent()) && (count($FORM_ERRORS) == '0')) {
+if ((isFormSent()) && (count($FORM_ERRORS) == 0)) {
        // Generate message array
        $messageArray = array(
                'failed' => getMessage('SPONSOR_REGISTRATION_FAILED'),