fix query
This commit is contained in:
@@ -81,7 +81,8 @@ long getUserRecipientCombo( CVars in, CVars &out ){
|
||||
|
||||
out["total_record"] = "0";
|
||||
const PGresult *res;
|
||||
res = pgsql_query("SELECT b.id,b.firstname||' '||b.lastname||' '||b.account_no||' '||k.name AS recipient, b.account_no,b.country,b.added,b.uid AS recipient_uid ,b.uid"
|
||||
res = pgsql_query("SELECT b.id,b.firstname||' '||b.lastname||' '||b.account_no||' '||k.name AS recipient, "
|
||||
" b.account_no,b.country,b.added,b.uid AS recipient_uid ,b.uid "
|
||||
"FROM sendmoney_recipient b "
|
||||
"LEFT JOIN bank_entity_codes k ON k.code=b.bank_code "
|
||||
"WHERE b.member_id = %lu AND b.status=1",member_id);
|
||||
|
||||
Reference in New Issue
Block a user