banner @ joib
This commit is contained in:
@@ -1834,6 +1834,10 @@ long WrenchCreateJobs(CVars in, CVars &out) {
|
||||
x["category"] = in["category"];
|
||||
x["category"].set_valid(true);
|
||||
|
||||
x["banner"] = in["banner"];
|
||||
x["banner"].set_valid(true);
|
||||
|
||||
|
||||
job_id = insert_db_record(DBS_VALID, "members_jobs", "members_jobs_id_seq", x);
|
||||
|
||||
if (job_id) {
|
||||
@@ -1904,6 +1908,11 @@ long WrenchEditJobs(CVars in, CVars &out) {
|
||||
x["category"] = in["category"];
|
||||
x["category"].set_valid(true);
|
||||
|
||||
if ( in["banner"] != ""){
|
||||
x["banner"] = in["banner"];
|
||||
x["banner"].set_valid(true);
|
||||
}
|
||||
|
||||
// job_id = insert_db_record(DBS_VALID, "members_jobs", "members_jobs_id_seq", x);
|
||||
|
||||
if (job_id> 0) {
|
||||
|
||||
Reference in New Issue
Block a user