mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-09 23:48:41 +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() {
|
||||
return DB::selectSingle([
|
||||
DB::lc(), "select 1 from problems_solutions",
|
||||
DB::lc(), "select problem_id from problems_solutions",
|
||||
"where", [
|
||||
"blog_id" => $this->info['id'],
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user