More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / mailid.php
index 78c1948e26cb5de6fe988dd675d2ff2243b7d49f..9ee907a62c7f07f26199305e0dfc274a85ad12b0 100644 (file)
@@ -172,7 +172,7 @@ if (($url_userid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErr
                                        // Was that mail a valid one?
                                        if ($isValid === true) {
                                                // If time is zero seconds we have a sponsor mail. 1 Second shall be set to avoid problems
-                                               if (($time == '0') && ($payment > 0)) { $URL = getConfig('URL'); $time = '1'; }
+                                               if (($time == 0) && ($payment > 0)) { $URL = getConfig('URL'); $time = 1; }
                                                if (($time > 0) && (($payment > 0) || ($points > 0))) {
                                                        // Export data into constants for the template
                                                        $content = array(