]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-transfer.php
Fix for undefined index 'last'
[mailer.git] / inc / modules / member / what-transfer.php
index c7130ff3deb2a2add9122177e6be739aa046b70a..aa9062a243280d119a3c92d826d3d79f12d963ba 100644 (file)
@@ -192,10 +192,10 @@ case "new": // Start new transfer
                                __FILE__, __LINE__);
 
                        // Add points to account *directly* ...
-                       ADD_POINTS_REFSYSTEM(bigintval($_POST['to_uid']), bigintval($_POST['points']), false, "0", false, "direct");
+                       ADD_POINTS_REFSYSTEM("member_transfer", bigintval($_POST['to_uid']), bigintval($_POST['points']), false, "0", false, "direct");
 
                        // ... and add it to current user's used points
-                       SUB_POINTS($GLOBALS['userid'], $_POST['points']);
+                       SUB_POINTS("transfer", $GLOBALS['userid'], $_POST['points']);
 
                        // First send email to recipient
                        $msg = LOAD_EMAIL_TEMPLATE("member_transfer_recipient", "", __RECIPIENT_UID);