This commit is contained in:
2022-08-06 17:24:51 -04:00
parent 785ce19dee
commit ed1dc93878
2 changed files with 11 additions and 12 deletions
+10
View File
@@ -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;
}