fix syntx
This commit is contained in:
@@ -499,7 +499,7 @@ long WrenchFlutterCreditHook(CVars in, CVars &out) {
|
||||
if ( out["hook_id"].Long() > 0 && in["status"] == "successful"){
|
||||
// lets find teh customer now
|
||||
CVars cc;
|
||||
if ( load_db_record(cc, "SELECT member_id, uid,amount,currency FROM members_credit WHERE uid = '%s'", xx["txRef"].c_str()> 0){
|
||||
if ( load_db_record(cc, "SELECT member_id, uid,amount,currency FROM members_credit WHERE uid = '%s'", xx["txRef"].c_str()) > 0){
|
||||
CVars xn;
|
||||
xn["member_id"] = cc["member_id"]; xn["member_id"].set_valid(true);
|
||||
xn["amount"] = cc["amount"]; xn["amount"].set_valid(true);
|
||||
|
||||
Reference in New Issue
Block a user