fix synthas
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "vars.h"
|
||||
|
||||
long submit_cron_email(CVars in)
|
||||
long submit_cron_email(CVars in);
|
||||
long CronSendMail(CVars in, CVars &out);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -640,7 +640,7 @@ long account_email(long mailtype, CVars in, CVars &out) {
|
||||
|
||||
long job_email(long mailtype, CVars in, CVars &out) {
|
||||
logfmt(logINFO, "job_email()");
|
||||
CVars x, y, z;
|
||||
CVars x, y, z, ml;
|
||||
C_CGI_Form form("", "");
|
||||
int c=0;
|
||||
CGIList * inv_list = new CGIList(&form, "inv_items");
|
||||
@@ -845,9 +845,14 @@ long job_email(long mailtype, CVars in, CVars &out) {
|
||||
" WHERE o.id = %lu", in["offer_id"].Long())) {
|
||||
vars2form(x, form);
|
||||
vars2form(yr, form);
|
||||
form.LetStr("subject", "New Job Offer Received");
|
||||
form.LetStr("email", x["email"].c_str());
|
||||
form.Email("JOB/job_offer_invidual.mailfile");
|
||||
// form.LetStr("subject", "New Job Offer Received");
|
||||
// form.LetStr("email", x["email"].c_str());
|
||||
// form.Email("JOB/job_offer_invidual.mailfile");
|
||||
|
||||
ml["action"] = JOBS_INDIVIDUAL_OFFER_MAIL; ml["action"].set_valid( true );
|
||||
ml["topic"] = "JOBS_INDIVIDUAL_OFFER_MAIL"; ml["topic"].set_valid( true );
|
||||
ml["offer_id"] = in["offer_id"]; ml["offer_id"].set_valid( true );
|
||||
submit_cron_email(ml);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user