X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-sponsor_reg.php;h=f1ccf3837a93c83af396a725ba971937993a860b;hp=312627aac8639292e259eb6aea75edee6c49f161;hb=c85ddc06cc16f2cd38ddd7d4c142a3f578bbab69;hpb=04fd04fb0015f81cec6b77b61bdae1d60ebf02ba diff --git a/inc/modules/guest/what-sponsor_reg.php b/inc/modules/guest/what-sponsor_reg.php index 312627aac8..f1ccf3837a 100644 --- a/inc/modules/guest/what-sponsor_reg.php +++ b/inc/modules/guest/what-sponsor_reg.php @@ -199,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'),