member_id
This commit is contained in:
@@ -80,7 +80,7 @@ long bko_calls(CVars in, CVars &out)
|
||||
|
||||
long BkoRefreshWallet(CVars in, CVars &out)
|
||||
{
|
||||
logfmt( logINFO, "BkoResendMarketing()" );
|
||||
logfmt( logINFO, "BkoRefreshWallet()" );
|
||||
REQ_STRING (in, "uid", 5, 149, "(.*)");
|
||||
CVars x;
|
||||
|
||||
@@ -92,10 +92,10 @@ long BkoRefreshWallet(CVars in, CVars &out)
|
||||
load_db_record(vw, "SELECT code AS currency FROM currency WHERE country='%s'",x["country"].c_str());
|
||||
if ( vw["currency"] !=""){
|
||||
vw["currency"].set_valid( true );
|
||||
out["wallet_id"] = CheckWallet(out["member_id"].Long(),vw);
|
||||
out["wallet_id"] = CheckWallet(member_id,vw);
|
||||
}
|
||||
}
|
||||
logfmt( logINFO, "/BkoResendMarketing()" );
|
||||
logfmt( logINFO, "/BkoRefreshWallet()" );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user