diff --git a/wrenchboard/src/shared_tool/site_crons.cc b/wrenchboard/src/shared_tool/site_crons.cc index f5189ae3..c1c6c51e 100644 --- a/wrenchboard/src/shared_tool/site_crons.cc +++ b/wrenchboard/src/shared_tool/site_crons.cc @@ -219,8 +219,9 @@ long RefreshPromoActivities(CVars in, CVars &out){ if (resF != NULL && pgsql_num_rows(resF) > 0) { pgsql_query("UPDATE promo_member SET updated = now(), status=2 WHERE id = %lu ", rec["id"].Long()); // mo CVars yp; - yp["category"] ="SIGNUP"; - yp["description"] = "Sign up was started"; + yp["category"] ="SIGNUP"; yp["category"].set_valid( true ); + yp["admin_id"] = rec["admin_id"]; yp["admin_id"].set_valid( true ); + yp["description"] = "Sign up was started"; yp["description"].set_valid( true ); RegisterPromoAction(yp); } } @@ -285,6 +286,7 @@ long RegisterPromoPoint(CVars in){ CVars yp; yp["category"] ="SIGNUP_POINT"; + yp["admin_id"] = in["admin_id"]; yp["admin_id"].set_valid( true ); yp["description"] = "Sign up was completed"; RegisterPromoAction(yp); return 0;