]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_points.php
Updating profiles fixed. It was still broken since I have changed the password hashin...
[mailer.git] / inc / modules / admin / what-config_points.php
index a1e35996d6f3bad91e09dc34c61850c6e59e5e8c..a0171fc02d059f69d9e5f57bdbbe6fe204055b0b 100644 (file)
@@ -126,7 +126,7 @@ reg_points_mode='%s',
 ref_payout='%d'
 WHERE config='0' LIMIT 1",
  $_POST['allow_direct_pay'],
- $_POST['refmode'],
+ $_POST['reg_points_mode'],
  $REF
                );
                if (($CONFIG['ref_payout'] == 0) && ($_POST['ref_payout'] > 0))
@@ -187,12 +187,12 @@ WHERE mails_confirmed < %d", $REF, $REF);
        // Including new add-mode for one-time referral bonus
        switch ($CONFIG['allow_direct_pay'])
        {
-       case "Y":
+       case 'Y':
                define('__DIRECT_Y', " checked");
                define('__DIRECT_N', "");
                break;
 
-       case "N":
+       case 'N':
                define('__DIRECT_Y', "");
                define('__DIRECT_N', " checked");
                break;