seg error
This commit is contained in:
@@ -199,7 +199,7 @@ long WrenchContractStatus( CVars in, CVars &out )
|
||||
logfmt( logINFO, "~~~~ ~~~~~ WrenchContractStatus() CONTRACT_REQUEST_TIMELINEret 1 = %lu",ret );
|
||||
if (ret>0)
|
||||
{
|
||||
pgsql_exec("UPDATE members_jobs_contract SET ext_request = now(), updated = now() WHERE status IN (1,2) AND id = %lu AND contract='%s'",extension, in["contract_id"].Long() ,in["job_contract"].c_str());
|
||||
pgsql_exec("UPDATE members_jobs_contract SET ext_request = now(), updated = now() WHERE status IN (1,2) AND id = %lu AND contract='%s'", in["contract_id"].Long() ,in["job_contract"].c_str());
|
||||
// make sure the update was done
|
||||
if ( load_db_record( out, "SELECT * FROM members_jobs_contract WHERE id=%lu AND member_id =%lu AND delivery_date > now()",in["contract_id"].Long(),in["member_id"].Long() ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user