fix qr
This commit is contained in:
@@ -275,7 +275,7 @@ long WrenchFamilyTransferCredit( CVars in, CVars &out ){
|
||||
pgsql_exec("UPDATE family_transfer SET credit_confirm = '%s' WHERE id = %lu ",confirmation, transfer_id );
|
||||
CVars xrx;
|
||||
load_db_record( out, "SELECT f.id AS transfer_id, f.*, "
|
||||
" f.amount*0.01||'('||f.currency||') Reward sent to '||m.firstname AS title,
|
||||
" f.amount*0.01||'('||f.currency||') Reward sent to '||m.firstname AS title, "
|
||||
" m.firstname FROM family_transfer f LEFT JOIN members m ON m.id = f.recipient WHERE f.id = %lu ", transfer_id );
|
||||
out["status"] = "OK";
|
||||
out["status_message"] = "trasnfer_completed";
|
||||
@@ -285,7 +285,7 @@ long WrenchFamilyTransferCredit( CVars in, CVars &out ){
|
||||
char title[90];
|
||||
xxx["member_id"] = in["member_id"]; xxx["member_id"].set_valid( true ); // for the original sender
|
||||
snprintf(title, sizeof (title), "%lu(%s) Reward sent to %s",out["amount"].Long()*0.01,out["currency"].c_str(), out["firstname"].c_str());
|
||||
xxx["title"] = out["title"]; //xxx["title"].set_valid( true );
|
||||
xxx["title"] = out["title"]; xxx["title"].set_valid( true );
|
||||
xxx["description"] = out["description"]; xxx["description"].set_valid( true );
|
||||
WrenchLogRecent(xxx, yy);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user