Missed delarartion
This commit is contained in:
@@ -244,9 +244,9 @@ long RefreshPromoActivities(CVars in, CVars &out){
|
||||
pgsql_query("UPDATE promo_member SET updated = now(), status=3 WHERE id = %lu ", rec["id"].Long()); // mo
|
||||
// now let us register the points
|
||||
CVars xp;
|
||||
xp["category"] ="SIGNUP";
|
||||
xp["member_uid"] = rec["uid"];
|
||||
xp["points"] = "100";
|
||||
xp["category"] ="SIGNUP"; xp["category"].set_valid( true );
|
||||
xp["member_uid"] = rec["uid"]; xp["member_uid"].set_valid( true );
|
||||
xp["points"] = "100"; xp["points"].set_valid( true );
|
||||
RegisterPromoPoint(xp);
|
||||
}
|
||||
}
|
||||
@@ -307,7 +307,7 @@ long RegisterPromoAction(CVars in){
|
||||
insert_db_record(DBS_VALID, "promo_actions", "promo_actions_id_seq", xx);
|
||||
|
||||
ret = PHP_API_OK;
|
||||
out["status"] = "OK";
|
||||
//out["status"] = "OK";
|
||||
} catch (bad_parameter) {
|
||||
logfmt(logINFO, "ERROR CALL long RegisterPromoAction(CVars in, CVars &out)");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user