fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user