Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / guest / what-sponsor_reg.php
index 5aad04bbeccf4827d8868546b01e2666af4b22e5..eca8610959f2ce33691c68143920ca34139913d5 100644 (file)
@@ -198,7 +198,7 @@ if (isFormSent()) {
        if (count($FORM_ERRORS) > 0) unsetPostRequestElement('ok');
 }
 
-if ((isFormSent()) && (count($FORM_ERRORS) == 0)) {
+if ((isFormSent()) && (count($FORM_ERRORS) == '0')) {
        // Generate message array
        $messageArray = array(
                'failed' => getMessage('SPONSOR_REGISTRATION_FAILED'),