job uid lenght
This commit is contained in:
@@ -177,7 +177,7 @@ long WrenchJobPostExtendTime(CVars in, CVars &out){
|
||||
out["status"] = "Started";
|
||||
long member_id = REQ_LONG(in, "member_id", 1, -1);
|
||||
long extend_days = REQ_LONG(in, "extend_days", 1, -1);
|
||||
REQ_STRING(in, "job_uid", 1, 35, "(.*)"); //offer_code
|
||||
REQ_STRING(in, "job_uid", 1, 55, "(.*)"); //offer_code
|
||||
REQ_STRING(in, "offer_code", 1, 15, "(.*)"); //offer_code
|
||||
|
||||
const PGresult *res = pgsql_query("SELECT id AS offer_id FROM members_jobs_offer WHERE offer_code = '%s' AND member_id=%lu AND status =1", in["offer_code"].c_str(),member_id);
|
||||
@@ -202,7 +202,7 @@ long WrenchJobPostNotifyOffer(CVars in, CVars &out){
|
||||
out["status"] = "Started";
|
||||
long member_id = REQ_LONG(in, "member_id", 1, -1);
|
||||
long mode = REQ_LONG(in, "mode", 1, -1);
|
||||
REQ_STRING(in, "job_uid", 1, 35, "(.*)"); //offer_code
|
||||
REQ_STRING(in, "job_uid", 1, 55, "(.*)"); //offer_code
|
||||
REQ_STRING(in, "offer_code", 1, 15, "(.*)"); //offer_code
|
||||
|
||||
const PGresult *res = pgsql_query("SELECT id AS offer_id FROM members_jobs_offer WHERE offer_code = '%s' AND member_id=%lu AND status =1", in["offer_code"].c_str(),member_id);
|
||||
|
||||
Reference in New Issue
Block a user