Even more rewritten
[mailer.git] / inc / monthly / monthly_beg.php
index dac9ff1b8cebf67c1b56dcd753c65aa60a720b1b..adc07ca534af20436289f3738cf009e5a5314690 100644 (file)
@@ -45,7 +45,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled()) || (getConfig('beg_rallye') != "Y")) return;
+if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled()) || (getConfig('beg_rallye') != 'Y')) return;
 //* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Get current month (2 digits)
@@ -58,7 +58,7 @@ if (($curr != getConfig('last_month')) && (getConfig('last_month') > 0) && (getC
        $whereStatement2 = getConfig(('beg_ranks'));
 
        // Shall we exclude webmaster's own userid?
-       if ((getConfig('beg_include_own') != "Y") && (getConfig('beg_uid') > 0)) {
+       if ((getConfig('beg_include_own') != 'Y') && (getConfig('beg_uid') > 0)) {
                // Exclude it
                $whereStatement1 = sprintf(" AND userid != %s", getConfig(('beg_uid')));
        } // END - if