This commit is contained in:
2022-09-22 21:09:31 -04:00
parent 75a5004fce
commit 90be9fd8b9
5 changed files with 22 additions and 24 deletions
+1 -1
View File
@@ -488,7 +488,7 @@ long WrenchConcludeJobsOffer(CVars in, CVars &out) {
if (WrenchRefundoffer(y, out) == PHP_CREATED_OK) {
pgsql_exec("UPDATE members_jobs_offer SET status = 4 WHERE id = %lu AND offer_code='%s' ", out["offer_id"].Long(), in["offer_code"].c_str());
// REFUND THE MONEY
job_email(JOBS_OFFER_CANCEL_MAIL, in, out); // the email will come from offer table
job_email(JOBS_OFFER_CANCEL_MAIL, y, out); // the email will come from offer table
}
}
break;