diff --git a/wrenchboard/email/JOB/job_offer_invidual.mailfile b/wrenchboard/email/JOB/job_offer_invidual.mailfile
index 290c44c5..e3bf3750 100644
--- a/wrenchboard/email/JOB/job_offer_invidual.mailfile
+++ b/wrenchboard/email/JOB/job_offer_invidual.mailfile
@@ -110,13 +110,6 @@ You have received a job offer from a
-
-
-
-
- |
-
-
-
-
-
- |
-
+
|
Please contact us at https://www.wrenchboard.com/contact if you have any question about this email.
diff --git a/wrenchboard/src/shared_tool/bko.cc b/wrenchboard/src/shared_tool/bko.cc
index a4b5a3ca..bfda1a7c 100644
--- a/wrenchboard/src/shared_tool/bko.cc
+++ b/wrenchboard/src/shared_tool/bko.cc
@@ -40,8 +40,18 @@ long BkoResendOffer(CVars in, CVars &out)
{
logfmt( logINFO, "BkoResendOffer()" );
REQ_STRING (in, "offer_code", 5, 49, "(.*)");
+ CVars x;
+ if ( load_db_record( x, "SELECT id AS offer_id FROM members_jobs_offer WHERE offer_code='%s'", in["offer_code"].c_str() )){
+ //ret = PHP_CREATED_OK;
+ //x["offer_id"] = offer_id;
+ //x["offer_id"].set_valid(true);
+ job_email(JOBS_INDIVIDUAL_OFFER_MAIL, x, out);
+ }
+
+
logfmt( logINFO, "/BkoResendOffer()" );
+ return 0;
}
|