more log
This commit is contained in:
@@ -201,6 +201,13 @@ long WrenchSendJobsOfferCreateAssign(CVars in, CVars &out){
|
||||
REQ_STRING(in, "family_uid", 1, 59, "(.*)");
|
||||
// REQ_STRING(in, "job_description", 1, 5500, "(.*)");
|
||||
if ( WrenchCreateJobs(in, xx) == PHP_CREATED_OK ){
|
||||
|
||||
CVars xxx, yy;
|
||||
xxx["member_id"] = in["member_id"]; xxx["member_id"].set_valid( true );
|
||||
xxx["title"] = "A job was created"; xxx["title"].set_valid( true );
|
||||
xxx["description"] = "Added a new job"; xxx["description"].set_valid( true );
|
||||
WrenchLogRecent(xxx, yy);
|
||||
|
||||
in["job_id"] = xx["job_id"]; xx["job_id"].set_valid( true );
|
||||
in["job_uid"] = xx["job_uid"]; xx["job_uid"].set_valid( true );
|
||||
in["job_description"] = xx["job_detail"]; xx["job_description"].set_valid( true );
|
||||
|
||||
Reference in New Issue
Block a user