Mailer project rwritten:
[mailer.git] / inc / modules / member / what-transfer.php
index a0ad05b9e784af090e70d591ee9dc5f8b9553fc4..b8bb61dc81b8187484329e6a750299bedc91cfc9 100644 (file)
@@ -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;