A lot more nice improvements!
[mailer.git] / inc / modules / member / what-payout.php
index 9a555afefac2caaced3f24cfa115067694a7b810..dccd81ffb80efda2ba69cd8a0761c0d6b5f67790 100644 (file)
@@ -192,7 +192,7 @@ ORDER BY p.payout_timestamp DESC",
                                define('PAYOUT_POINTS_VALUE', $PAYOUT);
 
                                // Subtract points from member's account
-                               SUB_POINTS($GLOBALS['userid'], $PAYOUT);
+                               SUB_POINTS("payout", $GLOBALS['userid'], $PAYOUT);
 
                                // Add entry to his tranfer history
                                if ($allow == "Y")