fix q
This commit is contained in:
@@ -152,7 +152,7 @@ long WrenchFamilyPayment( CVars in, CVars &out )
|
||||
|
||||
|
||||
long retDb2 = load_db_record( out, "SELECT * FROM family_transfer WHERE member_id = %lu AND code ='%s' AND id = %lu AND active IS NULL", in["member_id"].Long(), in["code"].c_str(),code_id );
|
||||
if (retDb2)
|
||||
if (retDb2>0)
|
||||
{
|
||||
in["coupon_amount"] =out["amount"]; in["coupon_amount"].set_valid( true );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user