]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-sponsor_reg.php
Fix empty delimiter in isSpider()
[mailer.git] / inc / modules / guest / what-sponsor_reg.php
index 5aad04bbeccf4827d8868546b01e2666af4b22e5..fc1d82f326e1f34072cd98debac81c9eb6d12c7e 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 06/10/2005 *
- * ===============                              Last change: 05/18/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 06/10/2005 *
+ * ===================                          Last change: 05/18/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-sponsor_reg.php                             *
@@ -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'),
@@ -284,7 +284,7 @@ ORDER BY `pay_name`", __FILE__, __LINE__);
        if (SQL_NUMROWS($result) > 0) {
                // Load all types...
                // @TODO Swap this HTML code to templates
-               $OUT = "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"300\" class=\"left2 right2 top2\">\n";
+               $OUT = "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"300\" class=\"left right top\">\n";
                $SW = 2;
                while ($content = SQL_FETCHARRAY($result)) {
                        // Prepare content for output