Fix data , upload routes

This commit is contained in:
CHIEFSOFT\ameye
2023-06-01 10:08:11 -04:00
parent f60f4cf9fd
commit 66af574c17
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ long WrenchJobPostExtendTime(CVars in, CVars &out){
if (!f.empty()) {
CVars rec;
map_to_cvars(f, rec);
pgsql_query("UPDATE members_jobs_offer SET expire = now() + '%lu days()' WHERE offer_code = '%s' AND member_id=%lu AND status =1",rec["offer_id"].Long(), in["offer_code"].c_str(),member_id);
pgsql_query("UPDATE members_jobs_offer SET expire = now() + '%lu days()' WHERE offer_code = '%s' AND member_id=%lu AND status =1",extend_days, in["offer_code"].c_str(),member_id);
ret = PHP_UPDATED_OK;
}
}