Import id
This commit is contained in:
@@ -386,21 +386,21 @@ long market_email(long mailtype, CVars in, CVars &out) {
|
||||
break;
|
||||
|
||||
case WRENCHBOARD_MARKET_PLAN01_START:
|
||||
if (load_db_record(x, "SELECT * FROM members WHERE id =1")) {
|
||||
if (load_db_record(x, "SELECT * FROM market_import WHERE id = %lu", in["import_id"].Long())) {
|
||||
vars2form(x, form);
|
||||
form.LetStr("subject", "View opportunities at");
|
||||
//form.LetStr("email", x["parent_email"].c_str());
|
||||
form.LetStr("email", "ameye@chiefsoft.com");
|
||||
form.LetStr("email", x["email"].c_str());
|
||||
//form.LetStr("email", "ameye@chiefsoft.com");
|
||||
form.Email("MARKET/market_invite_step1.mailfile");
|
||||
}
|
||||
break;
|
||||
|
||||
case WRENCHBOARD_MARKET_PLAN01_NEXT1:
|
||||
if (load_db_record(x, "SELECT * FROM members WHERE id =1")) {
|
||||
if (load_db_record(x, "SELECT * FROM market_import WHERE id = %lu", in["import_id"].Long())) {
|
||||
vars2form(x, form);
|
||||
form.LetStr("subject", "View opportunities at");
|
||||
//form.LetStr("email", x["parent_email"].c_str());
|
||||
form.LetStr("email", "ameye@chiefsoft.com");
|
||||
form.LetStr("email", x["email"].c_str());
|
||||
//form.LetStr("email", "ameye@chiefsoft.com");
|
||||
form.Email("MARKET/market_invite_step1.mailfile");
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user