setGetRequestParameter('mode', 'list');
// And load all rows!
- $result = SQL_QUERY_ESC("SELECT `id`, `primera_account`, `primera_amount`, `primera_timestamp`, `primera_type` FROM `{?_MYSQL_PREFIX?}_user_primera` WHERE `userid`=%s ORDER BY `primera_timestamp` DESC",
+ $result = SQL_QUERY_ESC("SELECT `id`,`primera_account`,`primera_amount`,`primera_timestamp`,`primera_type` FROM `{?_MYSQL_PREFIX?}_user_primera` WHERE `userid`=%s ORDER BY `primera_timestamp` DESC",
array(getMemberId()), __FILE__, __LINE__);
// Load all rows
$locked = false;
} // END - if
- // Remove points from account
+ // Subtract points from account and ignore return status
subtractPoints('primera_payout', getMemberId(), postRequestParameter('amount'));
// Update primera nickname