fix q
This commit is contained in:
@@ -194,7 +194,7 @@ long WrenchFamilyPayment( CVars in, CVars &out )
|
|||||||
pgsql_exec("UPDATE members_payments SET flags = %lu WHERE id = %lu",x["flags"].Long(),payment_id );
|
pgsql_exec("UPDATE members_payments SET flags = %lu WHERE id = %lu",x["flags"].Long(),payment_id );
|
||||||
pgsql_exec("UPDATE family_transfer SET pay_confirm = now() WHERE id = %lu ",confirmation, transfer_id );
|
pgsql_exec("UPDATE family_transfer SET pay_confirm = now() WHERE id = %lu ",confirmation, transfer_id );
|
||||||
CVars xrx;
|
CVars xrx;
|
||||||
load_db_record( xrx, "SELECT id AS transfer_id, * FROM family_transfer WHERE id = %lu ", payment_id );
|
load_db_record( xrx, "SELECT id AS transfer_id, * FROM family_transfer WHERE id = %lu ", transfer_id );
|
||||||
return WrenchFamilyTransferCredit( xrx, out ); // let us try credit
|
return WrenchFamilyTransferCredit( xrx, out ); // let us try credit
|
||||||
} else {
|
} else {
|
||||||
out["status"] = "Unable to create payment";
|
out["status"] = "Unable to create payment";
|
||||||
@@ -228,7 +228,7 @@ long WrenchFamilyTransferCredit( CVars in, CVars &out ){
|
|||||||
if (retDb2>0)
|
if (retDb2>0)
|
||||||
{
|
{
|
||||||
|
|
||||||
long member_id = out["recipient"].Long(); // This is the recipient
|
long member_id = out["recipient"].Long(); // This is the recipient
|
||||||
CVars vw;
|
CVars vw;
|
||||||
vw["currency"] = in["currency"];
|
vw["currency"] = in["currency"];
|
||||||
vw["currency"].set_valid( true );
|
vw["currency"].set_valid( true );
|
||||||
|
|||||||
Reference in New Issue
Block a user