]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-unconfirmed.php
Another column fix
[mailer.git] / inc / modules / member / what-unconfirmed.php
index 114276f7abdb9902572fad44bf81c31e9ac18436..f6879b2ba8be1df6800fb08728e45f032b60e495 100644 (file)
@@ -32,7 +32,7 @@
  ************************************************************************/
 
 // Some security stuff...
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) {
+if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 } elseif (!IS_MEMBER()) {
@@ -57,7 +57,7 @@ if (EXT_IS_ACTIVE("bonus")) {
 if (SQL_NUMROWS($result) > 0)
 {
        // Please confirm these mails!
-       $sum = "0"; $SW = 2; $OUT = "";
+       $sum = 0; $SW = 2; $OUT = "";
        while (list($id, $id2, $type) = SQL_FETCHROW($result))
        {
                // Load data from stats table...