mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:08:42 +00:00
fix(web/problem/solution): UOJBlog::getSolutionProblemId()
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2a025e9ec9
commit
6ee92bc5ee
@ -211,7 +211,7 @@ class UOJBlog {
|
|||||||
|
|
||||||
public function getSolutionProblemId() {
|
public function getSolutionProblemId() {
|
||||||
return DB::selectSingle([
|
return DB::selectSingle([
|
||||||
DB::lc(), "select 1 from problems_solutions",
|
DB::lc(), "select problem_id from problems_solutions",
|
||||||
"where", [
|
"where", [
|
||||||
"blog_id" => $this->info['id'],
|
"blog_id" => $this->info['id'],
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user