mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2025-04-19 05:54:36 +00:00
parent
bc18403973
commit
e9abdd53ae
@ -107,6 +107,13 @@ $new_remote_problem_form->handle = function (&$vdata) {
|
||||
]);
|
||||
dataNewProblem($id);
|
||||
|
||||
DB::insert([
|
||||
"insert into problems_tags",
|
||||
"(problem_id, tag)",
|
||||
"values",
|
||||
DB::tuple([$id, $remote_provider['name']]),
|
||||
]);
|
||||
|
||||
redirectTo("/problem/{$id}");
|
||||
die();
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user