diff --git a/wrenchboard/src/shared_tool/account.cc b/wrenchboard/src/shared_tool/account.cc index 728912c1..73c83cd9 100644 --- a/wrenchboard/src/shared_tool/account.cc +++ b/wrenchboard/src/shared_tool/account.cc @@ -819,7 +819,7 @@ long WrenchBoardMobileSendMoney(CVars in, CVars &out){ if ( load_db_record(wl, "SELECT * FROM bank_entity_codes WHERE uid = '%s' AND country ='%s' ",in["bank_uid"].c_str(),in["TerminatingCountryCode"].c_str())> 0){ rp["account_no"] = in["account_no"]; rp["account_no"].set_valid( true ); rp["account_type"] = in["lastname"]; rp["account_type"].set_valid( true ); - rp["bank_code"] = wl["bank_code"]; rp["bank_code"].set_valid( true ); + rp["bank_code"] = wl["code"]; rp["bank_code"].set_valid( true ); rp["country"] = in["TerminatingCountryCode"]; rp["country"].set_valid( true ); rp["state"] = in["state"]; rp["state"].set_valid( true ); rp["city"] = in["city"]; rp["city"].set_valid( true );