fix ref jobs
This commit is contained in:
@@ -2275,6 +2275,8 @@ long WrenchCreateJobs(CVars in, CVars &out) {
|
|||||||
x["banner"] = in["banner"];
|
x["banner"] = in["banner"];
|
||||||
x["banner"].set_valid(true);
|
x["banner"].set_valid(true);
|
||||||
|
|
||||||
|
x["depend_uid"] = in["depend_uid"];
|
||||||
|
x["depend_uid"].set_valid(true);
|
||||||
|
|
||||||
job_id = insert_db_record(DBS_VALID, "members_jobs", "members_jobs_id_seq", x);
|
job_id = insert_db_record(DBS_VALID, "members_jobs", "members_jobs_id_seq", x);
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ class WrenchResources extends BaseController
|
|||||||
|
|
||||||
$next_question = [
|
$next_question = [
|
||||||
"question" => "What is C ? <br> C = $a + $b .",
|
"question" => "What is C ? <br> C = $a + $b .",
|
||||||
"option" => $option_mix,
|
"option" => $option_mix,
|
||||||
"answer" => $c,
|
"answer" => $c,
|
||||||
'option_mix' => $option_mix,
|
'option_mix' => $option_mix,
|
||||||
"last" => false,
|
"last" => false,
|
||||||
|
|||||||
Reference in New Issue
Block a user