contract_uid
This commit is contained in:
@@ -52,7 +52,7 @@ long WrenchContractStatus( CVars in, CVars &out )
|
||||
long extension = 0;
|
||||
|
||||
|
||||
ret = load_db_record( out, "SELECT id AS contract_id FROM members_jobs_contract WHERE contract='%s' AND uid = '%s'",in["contract"].c_str(),in["job_contract"].c_str());
|
||||
ret = load_db_record( out, "SELECT id AS contract_id FROM members_jobs_contract WHERE contract='%s' AND uid = '%s'",in["contract"].c_str(),in["contract_uid"].c_str());
|
||||
if (ret){
|
||||
if ( out["contract_id"].Long() > 0 ){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user