X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-transfer.php;h=b8bb61dc81b8187484329e6a750299bedc91cfc9;hp=a0ad05b9e784af090e70d591ee9dc5f8b9553fc4;hb=ca256746fe0757a23df4064824c8fe2087ad5634;hpb=387d390181f4aefd6d1e6d8fe16d9697801e99d7 diff --git a/inc/modules/member/what-transfer.php b/inc/modules/member/what-transfer.php index a0ad05b9e7..b8bb61dc81 100644 --- a/inc/modules/member/what-transfer.php +++ b/inc/modules/member/what-transfer.php @@ -91,7 +91,7 @@ switch ($mode) { $valid_reason = (isPostRequestElementSet('reason')); // Test if a recipient is selected - $valid_recipient = isValidUserId(postRequestElement('to_userid')); + $valid_recipient = isValidId(postRequestElement('to_userid')); // Re-check receivers and own personal data $result = SQL_QUERY_ESC("SELECT `userid`, `gender`, `surname`, `family`, `email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `userid` IN ('%s','%s') AND `status`='CONFIRMED'" . runFilterChain('user_exclusion_sql', ' ') . " LIMIT 2", @@ -417,7 +417,7 @@ INDEX (`party_userid`) SQL_FREERESULT($result); // ... and add them to a constant for the template - $content['rows'] = $OUT; + $content['rows'] = $OUT; // Remeber total amount $content['total_points'] = $total;